home *** CD-ROM | disk | FTP | other *** search
- /*
- ** formatch() data types header file
- */
- typedef struct {
- char reserved[21];
- unsigned char attribute;
- unsigned long filetime;
- unsigned long filesize;
- char shortname[14];
- char filename[65];
- } FILE_MATCH;
-
- /*
- ** These masks correspond to FILE_MATCH.attribute bits and
- ** subroutine call option bits
- */
- #define READONLY 0x0001
- #define HIDDEN 0x0002
- #define SYSTEM 0x0004
- #define VOLABEL 0x0008
- #define DIRECTORY 0x0010
- #define ARCHIVE 0x0020
- #define ALLREALONES 0x003F
- #define DOTHIDDEN 0x0040
- #define MATCHNONWILD 0x0080
- #define RECURSIVE 0x0100
- #define DIRFIRST 0x0200
-
- int formatch(char *path, int type, int (*routine)());
- void initmatch(void);
-
- extern char optsepar[2],dirsepar,othersepar;
-