home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mm / mm-ccmd-0.91-20031009.tar.gz / mm-ccmd-0.91-20031009.tar / work / ccmd / filelist.h < prev    next >
Text File  |  2002-02-20  |  774b  |  30 lines

  1. /*
  2.  Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3.  the City of New York.  Permission is granted to any individual or
  4.  institution to use, copy, or redistribute this software so long as it
  5.  is not sold for profit, provided this copyright notice is retained.
  6.  
  7.  Author: Howie Kaye
  8. */
  9.                     /* files to alloc at a time */
  10. #define FILEINCR 100
  11.                     /* name space to alloc each time */
  12. #define NAMEINCR 1000
  13.  
  14. #if CCMD_OS_UNIX
  15. # define DIRSEP "/"
  16. # define STRUCTTERM ""
  17. #elif CCMD_OS_MSDOS
  18. # define DIRSEP "/\\:"
  19. # define STRUCTTERM ":"
  20. #endif
  21.  
  22. #define WILDCHARS "*?[{"
  23.  
  24. typedef struct _dirfile {
  25.   char *directory;            /* directory file is located in */
  26.   int offset;                /* offset into namebuffer */
  27.   int flags;                /* files flags for this parse */
  28. }  dirfile;
  29.  
  30.