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 >
Wrap
Text File
|
2002-02-20
|
774b
|
30 lines
/*
Copyright (c) 1986, 1990 by The Trustees of Columbia University in
the City of New York. Permission is granted to any individual or
institution to use, copy, or redistribute this software so long as it
is not sold for profit, provided this copyright notice is retained.
Author: Howie Kaye
*/
/* files to alloc at a time */
#define FILEINCR 100
/* name space to alloc each time */
#define NAMEINCR 1000
#if CCMD_OS_UNIX
# define DIRSEP "/"
# define STRUCTTERM ""
#elif CCMD_OS_MSDOS
# define DIRSEP "/\\:"
# define STRUCTTERM ":"
#endif
#define WILDCHARS "*?[{"
typedef struct _dirfile {
char *directory; /* directory file is located in */
int offset; /* offset into namebuffer */
int flags; /* files flags for this parse */
} dirfile;