diff options
Diffstat (limited to 'common/vfsutils.h')
| -rw-r--r-- | common/vfsutils.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/common/vfsutils.h b/common/vfsutils.h index 5dd61f2..404b313 100644 --- a/common/vfsutils.h +++ b/common/vfsutils.h @@ -1,5 +1,5 @@ -/* Tux Commander VFS: String utilities - * Copyright (C) 2007 Tomas Bzatek <tbzatek@users.sourceforge.net> +/* Tux Commander VFS: VFS utilities + * Copyright (C) 2007-2009 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 @@ -20,20 +20,28 @@ #ifndef __VFSUTILS_H__ #define __VFSUTILS_H__ +#ifdef __cplusplus + extern "C" { +#endif + -#include <stdio.h> -#include <string.h> #include <glib.h> -#include "vfs_types.h" +#include "tuxcmd-vfs.h" + +void copy_vfs_item (struct TVFSItem *src, struct TVFSItem *dst); +void free_vfs_item (struct TVFSItem *item); -void copy_vfs_item(struct TVFSItem *src, struct TVFSItem *dst); -void free_vfs_item(struct TVFSItem *item); +/* creates a placeholder item */ +struct TVFSItem * create_placeholder_item (const char *name, enum TVFSItemType item_type); -int compare_two_same_files(const char *Path1, const char *Path2); +gboolean compare_two_same_files (const char *path1, const char *path2); +#ifdef __cplusplus + } +#endif #endif /* __VFSUTILS_H__ */ |
