home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / bin / p205.zip / exesrc / dir.h < prev    next >
C/C++ Source or Header  |  1994-12-18  |  736b  |  27 lines

  1. /*****************************************************************************/
  2. /*           Copyright (c) 1994 by Jyrki Salmi <jytasa@jyu.fi>             */
  3. /*        You may modify, recompile and distribute this file freely.         */
  4. /*****************************************************************************/
  5.  
  6. #ifndef _DIR_H_
  7. #define _DIR_H_
  8.  
  9. typedef struct _DIR_ENTRY {
  10.  
  11.   U8 *name;
  12.   U32 *size;
  13.   U16 *date;
  14.   U16 *time;
  15.   U32 *attribute;
  16.  
  17.   U32 handle;
  18.   U8 *find_buf; /* FILEFINDBUF3 */
  19. } DIR_ENTRY;
  20.  
  21. #define DIR_FIND_DIRECTORY    MUST_HAVE_DIRECTORY
  22. extern U32 dir_find_first(U8 *, U32, DIR_ENTRY *);
  23. extern U32 dir_find_next(DIR_ENTRY *);
  24. extern U32 dir_find_close(DIR_ENTRY *);
  25.  
  26. #endif /* _DIR_H_ */
  27.