Import upstream 2.3.14
[packages/xinetd.git] / libs / src / xlog / slog.h
1 /*
2  * (c) Copyright 1992, 1993 by Panagiotis Tsirigotis
3  * All rights reserved.  The file named COPYRIGHT specifies the terms 
4  * and conditions for redistribution.
5  */
6
7
8 /*
9  * $Id: slog.h,v 1.3 2003/05/31 21:58:58 steveg Exp $
10  */
11 #ifndef __SLOG_H
12 #define __SLOG_H
13
14 struct syslog_s
15 {
16         int sl_facility ;
17         int sl_default_level ;
18 } ;
19
20
21 struct syslog_parms
22 {
23    int          slp_n_xlogs ;           /* # of xlogs using syslog */
24    int          slp_logopts ;           /* used at openlog */
25    int          slp_facility ;
26    const char  *slp_ident ;             /* used at openlog */
27    /* bool_int slp_ident_is_malloced ; */
28 } ;
29
30 #define SYSLOG( xp )         ((struct syslog_s *)xp->xl_data)
31
32 #endif
33