source: trunk/dll/grep.h@ 523

Last change on this file since 523 was 523, checked in by root, 19 years ago

04 Nov 06 Renames

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