Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

build/myftw.h

Go to the documentation of this file.
00001 #ifndef _H_MYFTW_
00002 #define _H_MYFTW_
00003 
00009 #include <sys/stat.h>
00010 
00011 /* The FLAG argument to the user function passed to ftw.  */
00012 #define MYFTW_F         0               /* Regular file.  */
00013 #define MYFTW_D         1               /* Directory.  */
00014 #define MYFTW_DNR       2               /* Unreadable directory.  */
00015 #define MYFTW_NS        3               /* Unstatable file.  */
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 typedef int (*myftwFunc) (void *fl, const char *name, struct stat *statp);
00022 
00023 int myftw (const char *dir, int descriptors, myftwFunc func, void *fl);
00024 
00025 #ifdef __cplusplus
00026 }
00027 #endif
00028 
00029 #endif /* _H_MYFTW_ */

Generated at Sun Apr 8 18:42:58 2001 for rpm by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000