ticket-2618-patches-20031207
[openafs.git] / src / WINNT / afsadmsvr / TaAfsAdmSvrDebug.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef TAAFSADMSVRDEBUG_H
11 #define TAAFSADMSVRDEBUG_H
12
13
14 /*
15  * INCLUSIONS _________________________________________________________________
16  *
17  */
18
19 #include <WINNT/TaAfsAdmSvr.h>
20
21
22 /*
23  * DETAIL LEVELS ______________________________________________________________
24  *
25  */
26
27 #define dlSTANDARD      0x00000001
28 #define dlWARNING       0x00000002
29 #define dlERROR         0x00000004
30 #define dlCONNECTION    0x00000008
31 #define dlOPERATION     0x00000010
32 #define dlDETAIL        0x00000020
33 #define dlDETAIL2       0x00000040
34 #define dlALL           0x00FFFFFF
35
36 #define dlINDENT1       0x01000000
37 #define dlINDENT2       0x02000000
38 #define dlINDENT3       0x03000000
39 #define dlRESERVED      0xFF000000
40
41 #ifdef DEBUG
42 #define dlDEFAULT       (dlSTANDARD | dlERROR | dlWARNING | dlCONNECTION | dlOPERATION | dlDETAIL)
43 #else
44 #define dlDEFAULT       (dlSTANDARD | dlERROR | dlCONNECTION)
45 #endif
46
47
48 /*
49  * PROTOTYPES _________________________________________________________________
50  *
51  */
52
53 extern void cdecl Print (DWORD dwLevel, LPTSTR pszLine, ...);
54 extern void cdecl Print (LPTSTR pszLine, ...);
55
56 extern DWORD GetPrintDetailLevel (DWORD dwLevel);
57 extern void SetPrintDetailLevel (DWORD dwLevel);
58
59
60 #endif // TAAFSADMSVRDEBUG_H