-
Notifications
You must be signed in to change notification settings - Fork 1
/
request_manage.h
80 lines (61 loc) · 1.62 KB
/
request_manage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/* REQUEST_MANAGE.H */
/* File-Listen */
#define LEN_LISTDESC 100
typedef struct filelist
{
struct filelist *next;
struct filelist *prev;
BOOL bDirty;
char pchFileName[LEN_PATHNAME+1];
char pchAddress[LEN_5DADDRESS+1];
char pchDesc[LEN_LISTDESC+1];
} FILELIST, *PFILELIST;
/* allgemeine Daten */
typedef struct
{
char pchDestArea[LEN_AREATAG+1];
BOOL bDirectReq;
ULONG ulAttrib;
WINPOS ReqPos;
WINPOS ListAddPos;
WINPOS FileAddPos;
WINPOS PasswdPos;
WINPOS SearchPos;
LONG lListFore;
LONG lListBack;
char pchListFont[FACESIZE+5];
char pchLastSearch[LEN_SEARCHTEXT+1];
ULONG ulSearchFlags;
PFILELIST pFirstList;
BOOL bListDirty;
BOOL bDirty;
} REQUESTOPT, *PREQUESTOPT;
/* gelesene File-Liste */
typedef struct ramlist
{
struct ramlist *next;
char *pchLine;
} RAMLIST, *PRAMLIST;
/* Parameter f. Liste Lesen */
typedef struct
{
PFILELIST pList;
HWND hwndNotify;
ULONG ulRetCode;
PRAMLIST pReadList;
BOOL bStop;
} FILELISTREAD, *PFILELISTREAD;
#define FILELIST_OK 0
#define FILELIST_NOTF 1
#define FILELIST_READERR 2
#define FILELIST_STOPPED 3
/* Notify-Message */
#define REQM_LISTREAD (WM_USER+1)
/* Prototypen */
PFILELIST AddNewFileList(PFILELIST *ppList, PFILELIST pNewList, PBOOL pbDirty);
BOOL DeleteFileList(PFILELIST *ppList, PFILELIST pDelList, PBOOL pbDirty);
void _Optlink ListReadThread(PVOID pData);
PRAMLIST MessageToFileList(char *pchMessageText);
void FreeFileList(PRAMLIST pList);
BOOL IsFileName(char *pchName, BOOL bDotRequired);
/* Ende REQUEST_MANAGE.H */