modified: pixi.toml
[GalaxyCodeBases.git] / etc / Windows / vlmcsd_old_vancepym / vlmcsd.h
blob7845a53a95a5dd17e2e30785ffbca62a401610fd
1 #ifndef __main_h
2 #define __main_h
4 #ifndef CONFIG
5 #define CONFIG "config.h"
6 #endif // CONFIG
7 #include CONFIG
9 #define __T(x) #x
10 #define _T(x) __T(x)
12 extern char *fn_log;
14 #include "types.h"
16 //int main(int argc, CARGV);
17 extern void cleanup();
19 #ifdef _NTSERVICE
20 int newmain();
21 #endif
23 #if MULTI_CALL_BINARY < 1
24 #define server_main main
25 #else
26 int server_main(int argc, CARGV argv);
27 #endif
29 #ifndef SA_NOCLDWAIT // required for Cygwin
30 #define SA_NOCLDWAIT 0
31 #endif
33 #ifndef NO_INI_FILE
34 #define INI_PARAM_RANDOMIZATION_LEVEL 1
35 #define INI_PARAM_LCID 2
36 #define INI_PARAM_LISTEN 3
37 #define INI_PARAM_MAX_WORKERS 4
38 #define INI_PARAM_CONNECTION_TIMEOUT 5
39 #define INI_PARAM_PID_FILE 6
40 #define INI_PARAM_LOG_FILE 7
41 #define INI_PARAM_LOG_VERBOSE 8
42 #define INI_PARAM_ACTIVATION_INTERVAL 9
43 #define INI_PARAM_RENEWAL_INTERVAL 10
44 #define INI_PARAM_DISCONNECT_IMMEDIATELY 11
45 #define INI_PARAM_UID 12
46 #define INI_PARAM_GID 13
47 #define INI_PARAM_PORT 14
48 #define INI_PARAM_RPC_NDR64 15
49 #define INI_PARAM_RPC_BTFN 16
51 #define INI_FILE_PASS_1 1
52 #define INI_FILE_PASS_2 2
54 typedef struct
56 const char* const Name;
57 uint_fast8_t Id;
58 } IniFileParameter_t, *PIniFileParameter_t;
59 #endif // NO_INI_FILE
61 #endif // __main_h