00001 #ifndef _H_MYFTW_
00002 #define _H_MYFTW_
00003
00009 #include <sys/stat.h>
00010
00011
00012 #define MYFTW_F 0
00013 #define MYFTW_D 1
00014 #define MYFTW_DNR 2
00015 #define MYFTW_NS 3
00016
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020
00021 typedef int (*myftwFunc) (void *fl, const char *name, struct stat *statp)
00022 ;
00023
00024 int myftw (const char *dir, int descriptors, myftwFunc func, void *fl)
00025
00026 ;
00027
00028 #ifdef __cplusplus
00029 }
00030 #endif
00031
00032 #endif