summaryrefslogtreecommitdiffstats
path: root/private/net/svcdlls/lls/inc/debug.h
blob: fa67d7307923f17998195eb23a750c75e4660102 (plain) (blame)
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
#ifdef __cplusplus
extern "C" {
#endif

#define TRACE_FUNCTION_TRACE  0x0001
#define TRACE_WARNINGS        0x0002
#define TRACE_PACK            0x0004
#define TRACE_LICENSE_REQUEST 0x0008
#define TRACE_LICENSE_FREE    0x0010
#define TRACE_REGISTRY        0x0020
#define TRACE_REPLICATION     0x0040
#define TRACE_LPC             0x0080
#define TRACE_RPC             0x0100
#define TRACE_INIT            0x0200
#define TRACE_DATABASE        0x0400

#define SERVICE_TABLE_NUM             1
#define USER_TABLE_NUM                2
#define SID_TABLE_NUM                 3
#define LICENSE_TABLE_NUM             4
#define ADD_CACHE_TABLE_NUM           5
#define MASTER_SERVICE_TABLE_NUM      6
#define SERVICE_FAMILY_TABLE_NUM      7
#define MAPPING_TABLE_NUM             8
#define SERVER_TABLE_NUM              9
#define SECURE_PRODUCT_TABLE_NUM     10
#define CERTIFICATE_TABLE_NUM        11

#if DBG
void __cdecl dprintf(LPTSTR szFormat, ...);

extern DWORD TraceFlags;

#else
#define dprintf
#endif

#ifdef __cplusplus
}
#endif