-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
59 lines (44 loc) · 1.18 KB
/
main.c
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
////////////////////////////////////////////////////////////////
// rune: Client DLL build
#ifdef QUICKFIND_BUILD_CLIENT
#define QUICKFIND_API_EXPORT
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include "quickfind_client.h"
#include "quickfind_shared.h"
#include "quickfind_client.c"
#include "quickfind_shared.c"
#endif
////////////////////////////////////////////////////////////////
// rune: Server+CLI build
#ifdef QUICKFIND_BUILD_SERVER
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <aclapi.h>
#include <winioctl.h>
#include <strsafe.h>
#include <shlobj.h>
#include <assert.h>
#include <intrin.h>
#include <stdio.h>
#include <stdint.h>
#pragma comment ( lib, "advapi32" )
#pragma comment ( lib, "shell32" )
#define QUICKFIND_API_STATIC
#include "quickfind_client.h"
#include "quickfind_shared.h"
#include "quickfind_server.h"
#include "quickfind_ntfs.h"
#include "quickfind_service.h"
#include "quickfind_shared.c"
#include "quickfind_client.c"
#include "quickfind_server.c"
#include "quickfind_ntfs.c"
#include "quickfind_service.c"
int main(int argc, char **argv) {
return cli_main(argc, argv);
}
#endif