home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / gnu / emacs-19.28-src.lha / emacs-19.28 / unixlib / src / dir_data.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-05  |  524 b   |  34 lines

  1. #ifndef DIR_DATA_H
  2. #define DIR_DATA_H
  3.  
  4. #include <sys/dir.h>
  5.  
  6. typedef struct
  7. {
  8.   char *dirname;
  9.   BPTR cdir;
  10.   struct FileInfoBlock fib;
  11.   struct idirent *files, *pos;
  12.   int seeked;
  13.   struct MsgPort *task;        /* Used to fake a value for st_dev */
  14. } iDIR;
  15.  
  16. struct idirent
  17. {
  18.   struct idirent *next;
  19.   /* Info needed for stat */
  20.   long numblocks;
  21.   long size;
  22.   struct DateStamp date;
  23.   long type;
  24.   long protection;
  25.   struct dirent entry;
  26. };
  27.  
  28. extern DIR *last_dir;
  29. extern struct idirent *last_entry;
  30.  
  31. BPTR _get_cd(void);
  32.  
  33. #endif
  34.