Mercurial > geeqie
comparison src/ui_fileops.h @ 576:9dc0513837b5
dropped path_list functions, use filelist functions everywhere
author | nadvornik |
---|---|
date | Sun, 04 May 2008 21:54:20 +0000 |
parents | e421326e8b43 |
children | e07895754e65 |
comparison
equal
deleted
inserted
replaced
575:b941403a4cd9 | 576:9dc0513837b5 |
---|---|
56 gchar *get_current_dir(void); | 56 gchar *get_current_dir(void); |
57 | 57 |
58 /* return True on success, it is up to you to free | 58 /* return True on success, it is up to you to free |
59 * the lists with string_list_free() | 59 * the lists with string_list_free() |
60 */ | 60 */ |
61 gint path_list(const gchar *path, GList **files, GList **dirs); | |
62 gint path_list_lstat(const gchar *path, GList **files, GList **dirs); | |
63 void string_list_free(GList *list); | 61 void string_list_free(GList *list); |
64 #define path_list_free string_list_free | |
65 GList *string_list_copy(GList *list); | 62 GList *string_list_copy(GList *list); |
66 #define path_list_copy string_list_copy | |
67 | |
68 | 63 |
69 gchar *unique_filename(const gchar *path, const gchar *ext, const gchar *divider, gint pad); | 64 gchar *unique_filename(const gchar *path, const gchar *ext, const gchar *divider, gint pad); |
70 gchar *unique_filename_simple(const gchar *path); | 65 gchar *unique_filename_simple(const gchar *path); |
71 | 66 |
72 const gchar *filename_from_path(const gchar *path); | 67 const gchar *filename_from_path(const gchar *path); |