diff options
Diffstat (limited to 'common/treepathutils.h')
| -rw-r--r-- | common/treepathutils.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/treepathutils.h b/common/treepathutils.h index 13f3057..a902a33 100644 --- a/common/treepathutils.h +++ b/common/treepathutils.h @@ -33,6 +33,7 @@ struct PathTree { struct TVFSItem *data; unsigned long index; char *node; + char *original_pathstr; }; @@ -40,11 +41,11 @@ 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. */ +/* 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); +gboolean filelist_tree_add_item(struct PathTree *tree, const char *path, const char *original_pathstr, 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); struct PathTree* filelist_tree_get_item_by_index(struct PathTree *tree, unsigned long index); |
