Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afsadmsvr / TaAfsAdmSvrDebug.h
blobb03bbbd506eccd3dcf90df533a9b75957682fbac
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
10 #ifndef TAAFSADMSVRDEBUG_H
11 #define TAAFSADMSVRDEBUG_H
15 * INCLUSIONS _________________________________________________________________
19 #include <WINNT/TaAfsAdmSvr.h>
23 * DETAIL LEVELS ______________________________________________________________
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
36 #define dlINDENT1 0x01000000
37 #define dlINDENT2 0x02000000
38 #define dlINDENT3 0x03000000
39 #define dlRESERVED 0xFF000000
41 #ifdef DEBUG
42 #define dlDEFAULT (dlSTANDARD | dlERROR | dlWARNING | dlCONNECTION | dlOPERATION | dlDETAIL)
43 #else
44 #define dlDEFAULT (dlSTANDARD | dlERROR | dlCONNECTION)
45 #endif
49 * PROTOTYPES _________________________________________________________________
53 extern void cdecl Print (DWORD dwLevel, LPTSTR pszLine, ...);
54 extern void cdecl Print (LPTSTR pszLine, ...);
56 extern DWORD GetPrintDetailLevel (DWORD dwLevel);
57 extern void SetPrintDetailLevel (DWORD dwLevel);
60 #endif // TAAFSADMSVRDEBUG_H