home *** CD-ROM | disk | FTP | other *** search
- /*
- GREP.H Text file search utility.
- R.J.P. 9-5/90
- */
-
- #ifndef BOOL
- #define TRUE 1
- #define FALSE 0
- #define BOOL int
- #endif
- #define MAX_FILE_NAME 16
- #define MAX_DIR_NAME 128
- #define SHOW_ALL_LINE TRUE
-
- #define TEXT_TYPE 0x0fff
- #define COMMAND_TYPE 0x0ffe
- #define DATA_TYPE 0x0ffd
- #define OBEY_TYPE 0x0feb
- #define PRINT_TYPE 0x0ff4
-
- /*----------------------------------------------------*/
- extern int max_files ;
- extern BOOL B_FileOnly ;
- extern BOOL B_EmptyReport ;
- extern BOOL B_Statistics ;
- extern BOOL B_AnyCase ;
- extern int N_Files ;
- extern int N_Hits ;
- extern int N_Lines ;
- extern int N_Direc ;
- extern char *comline(int,char **,char *);
- extern BOOL FileTree(char *, char * , char * ) ;
- extern char *ValidObject(char *, char *, char * ) ;
- extern void SearchFile(char * ,char *,char *,char * ) ;
- extern BOOL FileTree(char *, char *, char * ) ;
- extern void SummaryReport(void) ;
- extern void HelpInformation(void) ;
- extern void strupper(char *) ;
-