Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/e17genmenu/src/bin Modified Files: fdo_paths.c Log Message: docs++ =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/src/bin/fdo_paths.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- fdo_paths.c 1 Feb 2006 20:16:32 -0000 1.3 +++ fdo_paths.c 1 Feb 2006 20:32:33 -0000 1.4 @@ -252,6 +252,7 @@ } } } + if (env) { char *value; @@ -348,6 +349,18 @@ E_FN_DEL(_fdo_paths_list_del, fdo_paths_icons); } +/** Search for a file in fdo compatible locations. + * + * This will search through all the diretories of a particular type, looking + * for the file. It will recurse into subdirectories. If func is NULL, then + * only the first file found will be returned. If func is defined, then each + * file found will be passed to func, until func returns 1. + * + * @param type The type of directories to search. + * @param file The file to search for. + * @param func A function to call for each file found. + * @param data A pointer to pass on to func. + */ char * fdo_paths_search_for_file(Fdo_Paths_Type type, char *file, int (*func) (const void *data, char *path), const void *data) { ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs