From 892e407c5f5e06fa8c0ca9250b3bc99851c6a61d Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 13 Jun 2008 14:17:54 +0200 Subject: Symlink resolving code, disabled by default --- common/treepathutils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/treepathutils.h') 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 + * Copyright (C) 2007-2008 Tomas Bzatek * 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); -- cgit v1.2.3