home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / extras / dirwalker / dirwalker.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-24  |  335 b   |  12 lines

  1. #ifndef D_DIRWALK_H
  2. #define D_DIRWALK_H
  3.  
  4. /* Walk a directory tree.  Call the 'dirfunc' function pointer on each */
  5. /* directory, and the 'filefunc' function pointer on each file.        */
  6.  
  7. int dirwalker(char *name, 
  8.               int (*dirfunc)(char *path, char *dir), 
  9.               int (*filefunc)(char *path, char *file));
  10.  
  11. #endif
  12.