home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume27 / clc / part01 / libs / src / xlog / slog.h < prev   
Encoding:
C/C++ Source or Header  |  1993-11-28  |  584 b   |  30 lines

  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 2.2 1993/10/28 01:37:08 panos Exp $
  10.  */
  11.  
  12.  
  13. struct syslog
  14. {
  15.     int sl_facility ;
  16.     int sl_default_level ;
  17. } ;
  18.  
  19.  
  20. struct syslog_parms
  21. {
  22.    int         slp_n_xlogs ;              /* # of xlogs using syslog */
  23.    int         slp_logopts ;              /* used at openlog */
  24.    int         slp_facility ;
  25.    char        *slp_ident ;                    /* used at openlog */
  26. } ;
  27.  
  28. #define SYSLOG( xp )         ((struct syslog *)(xp)->xl_data)
  29.  
  30.