aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-path.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-09 06:05:00 +0800
committerDan Winship <danw@src.gnome.org>2001-05-09 06:05:00 +0800
commit9bcfef421b420061f7342e5517d226aa9f58dbdd (patch)
tree6d2914ae02a0768058dfc2f3a0436f51b6d28a5c /e-util/e-path.h
parentc20e677a134e5297a8400772d68a1ca91c97a7a7 (diff)
downloadgsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.tar
gsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.tar.gz
gsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.tar.bz2
gsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.tar.lz
gsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.tar.xz
gsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.tar.zst
gsoc2013-evolution-9bcfef421b420061f7342e5517d226aa9f58dbdd.zip
Walk a hierarchy using the "/subfolders/" convention and call a callback
* e-path.c (e_path_find_folders): Walk a hierarchy using the "/subfolders/" convention and call a callback for each folder found. svn path=/trunk/; revision=9721
Diffstat (limited to 'e-util/e-path.h')
-rw-r--r--e-util/e-path.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/e-util/e-path.h b/e-util/e-path.h
index 808b666d9e..50a3507363 100644
--- a/e-util/e-path.h
+++ b/e-util/e-path.h
@@ -21,6 +21,16 @@
#ifndef __E_PATH__
#define __E_PATH__
-char *e_path_to_physical (const char *prefix, const char *vpath);
+#include <glib.h>
+
+typedef gboolean (*EPathFindFoldersCallback) (const char *physical_path,
+ const char *path,
+ gpointer user_data);
+
+char * e_path_to_physical (const char *prefix, const char *vpath);
+
+gboolean e_path_find_folders (const char *prefix,
+ EPathFindFoldersCallback callback,
+ gpointer data);
#endif /* __E_PATH__ */