home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / assembler / tasm / GREP / H / grep
Encoding:
Text File  |  1992-03-04  |  1.3 KB  |  39 lines

  1. /*
  2. GREP.H  Text file search utility.
  3. R.J.P.    9-5/90
  4. */
  5.  
  6. #ifndef      BOOL
  7. #define      TRUE                1
  8. #define      FALSE               0
  9. #define      BOOL                int
  10. #endif
  11. #define      MAX_FILE_NAME       16 
  12. #define      MAX_DIR_NAME        128
  13. #define      SHOW_ALL_LINE       TRUE
  14.  
  15. #define      TEXT_TYPE           0x0fff
  16. #define      COMMAND_TYPE        0x0ffe
  17. #define      DATA_TYPE           0x0ffd
  18. #define      OBEY_TYPE           0x0feb
  19. #define      PRINT_TYPE          0x0ff4
  20.  
  21. /*----------------------------------------------------*/
  22. extern       int   max_files       ;
  23. extern       BOOL  B_FileOnly      ;
  24. extern       BOOL  B_EmptyReport   ;
  25. extern       BOOL  B_Statistics    ;
  26. extern       BOOL  B_AnyCase       ;
  27. extern       int   N_Files         ;
  28. extern       int   N_Hits          ;
  29. extern       int   N_Lines         ;
  30. extern       int   N_Direc         ;
  31. extern       char  *comline(int,char **,char *);
  32. extern       BOOL  FileTree(char *, char * , char * ) ;
  33. extern       char  *ValidObject(char *, char *, char * ) ;
  34. extern       void  SearchFile(char * ,char *,char *,char * ) ;
  35. extern       BOOL  FileTree(char *, char *, char * )  ;
  36. extern       void  SummaryReport(void)  ;
  37. extern       void  HelpInformation(void) ;
  38. extern       void  strupper(char *) ;
  39.