source: trunk/dll/grep.h@ 689

Last change on this file since 689 was 551, checked in by Gregg Young, 19 years ago

Indentation cleanup

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