import cyrus-sasl-2.1.23
[cyrus-sasl.git] / mac / kerberos_includes / klog.h
1 /*
2  * $Source: /afs/andrew/system/cvs/src/sasl/mac/kerberos_includes/klog.h,v $
3  * $Author: rjs3 $
4  * $Header: /afs/andrew/system/cvs/src/sasl/mac/kerberos_includes/klog.h,v 1.2 2001/12/04 02:06:05 rjs3 Exp $
5  *
6  * Copyright 1988 by the Massachusetts Institute of Technology.
7  *
8  * For copying and distribution information, please see the file
9  * <mit-copyright.h>.
10  *
11  * This file defines the types of log messages logged by klog.  Each
12  * type of message may be selectively turned on or off.
13  */
14
15 #ifndef _KERBEROS_KLOG_H
16 #define _KERBEROS_KLOG_H
17
18 #pragma ident   "@(#)klog.h     1.3     92/07/14 SMI"
19
20 #include <kerberos/mit-copyright.h>
21
22 #ifdef  __cplusplus
23 extern "C" {
24 #endif
25
26 #define KRBLOG          "/kerberos/kerberos.log"  /* master server  */
27 #define KRBSLAVELOG     "/kerberos/kerberos_slave.log"  /* master server  */
28 #define NLOGTYPE        100     /* Maximum number of log msg types  */
29
30 #define L_NET_ERR         1     /* Error in network code            */
31 #define L_NET_INFO        2     /* Info on network activity         */
32 #define L_KRB_PERR        3     /* Kerberos protocol errors         */
33 #define L_KRB_PINFO       4     /* Kerberos protocol info           */
34 #define L_INI_REQ         5     /* Request for initial ticket       */
35 #define L_NTGT_INTK       6     /* Initial request not for TGT      */
36 #define L_DEATH_REQ       7     /* Request for server death         */
37 #define L_TKT_REQ         8     /* All ticket requests using a tgt  */
38 #define L_ERR_SEXP        9     /* Service expired                  */
39 #define L_ERR_MKV        10     /* Master key version incorrect     */
40 #define L_ERR_NKY        11     /* User's key is null               */
41 #define L_ERR_NUN        12     /* Principal not unique             */
42 #define L_ERR_UNK        13     /* Principal Unknown                */
43 #define L_ALL_REQ        14     /* All requests                     */
44 #define L_APPL_REQ       15     /* Application requests (using tgt) */
45 #define L_KRB_PWARN      16     /* Protocol warning messages        */
46
47 char   *klog();
48
49 #ifdef  __cplusplus
50 }
51 #endif
52
53 #endif  /* _KERBEROS_KLOG_H */