summaryrefslogtreecommitdiff
path: root/common/treepathutils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com>2008-06-13 14:17:54 +0200
committerTomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com>2008-06-13 14:17:54 +0200
commit892e407c5f5e06fa8c0ca9250b3bc99851c6a61d (patch)
treefbca968b4f12c18cc755c0436925b744c6bb04ea /common/treepathutils.h
parent4e58288e8e2e76e8d518b21273f787be16a486c3 (diff)
downloadtuxcmd-modules-892e407c5f5e06fa8c0ca9250b3bc99851c6a61d.tar.xz
Symlink resolving code, disabled by default
Diffstat (limited to 'common/treepathutils.h')
-rw-r--r--common/treepathutils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/treepathutils.h b/common/treepathutils.h
index 658f582..13f3057 100644
--- a/common/treepathutils.h
+++ b/common/treepathutils.h
@@ -1,5 +1,5 @@
/* Tux Commander VFS: String utilities
- * Copyright (C) 2007 Tomas Bzatek <tbzatek@users.sourceforge.net>
+ * Copyright (C) 2007-2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
* Check for updates on tuxcmd.sourceforge.net
*
* This program is free software; you can redistribute it and/or modify
@@ -40,6 +40,10 @@ struct PathTree* filelist_tree_new();
void filelist_tree_free(struct PathTree *tree);
void filelist_tree_print(struct PathTree *tree);
+/* Symlink resolving: strongly discouraged to use at the present state of art.
+ * We would have to implement full symlink system, do loop checking etc. */
+void filelist_tree_resolve_symlinks(struct PathTree *tree);
+
gboolean filelist_tree_add_item(struct PathTree *tree, const char *path, struct TVFSItem *item, unsigned long index);
struct PathTree* filelist_tree_find_node_by_path(struct PathTree *tree, const char *path);
unsigned long int filelist_find_index_by_path(struct PathTree *tree, const char *path);