source: trunk/dll/grep.h@ 841

Last change on this file since 841 was 841, checked in by Gregg Young, 18 years ago

This implements large file support; The wrappers to allow WARP3 compatibility are not done so this will not run on Warp3or Warp 4 pre fixpack 12(?)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1
2/***********************************************************************
3
4 $Id: grep.h 841 2007-09-23 16:27:51Z gyoung $
5
6 Grep support
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2006, 2007 Steven H. Levine
10
11 04 Nov 06 SHL Renames
12 15 Aug 07 SHL Drop obsoletes
13
14***********************************************************************/
15
16ULONG SecsSince1980(FDATE * date, FTIME * time);
17VOID GrepThread(VOID * arg);
18
19typedef struct DUPES
20{
21 CHAR *name;
22 ULONG size;
23 FDATE date;
24 FTIME time;
25 INT flags;
26 LONG CRC;
27 struct DUPES *next;
28}
29DUPES;
30
31#define GF_INSERTED 1
32#define GF_SKIPME 2
33
34typedef struct
35{
36 USHORT size;
37 CHAR tosearch[8192];
38 CHAR fileMask[CCHMAXPATH + 14];
39 CHAR curdir[CCHMAXPATH];
40 LONG fileCount;
41 HWND hwnd;
42 HWND hwndFiles;
43 HWND hwndCurFile;
44 BOOL caseFlag;
45 BOOL absFlag;
46 BOOL dirFlag;
47 BOOL sayfiles;
48 BOOL searchEAs;
49 BOOL searchFiles;
50 BOOL finddupes;
51 BOOL CRCdupes;
52 BOOL nosizedupes;
53 BOOL ignoreextdupes;
54 BOOL findifany;
55 BOOL anyexcludes;
56 ULONG greaterthan;
57 ULONG lessthan;
58 ULONG olderthan;
59 ULONG newerthan;
60 ULONG numfiles;
61 HAB ghab;
62 CHAR *stopflag;
63 ULONG toinsert;
64 ULONGLONG insertedbytes;
65 FILEFINDBUF4L **insertffb;
66 CHAR **dir;
67 ULONG attrFile;
68 ULONG antiattr;
69 DUPES *dupehead, *dupelast, **dupenames, **dupesizes;
70 CHAR searchPattern[4096];
71 ULONG numlines;
72 CHAR *matched;
73}
74GREP;
75
76extern volatile CHAR diegrep;
Note: See TracBrowser for help on using the repository browser.