home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / bootpd-2.zip / SYSLOG.H-O < prev    next >
Text File  |  1993-12-30  |  816b  |  26 lines

  1. /*
  2.  * Fake syslog.h for systems without it  (just defines priorities).
  3.  * To use this, compile with: -I/usr/include -I.
  4.  */
  5.  
  6. /*
  7.  * Copyright (c) 1982, 1986 Regents of the University of California.
  8.  * All rights reserved.  The Berkeley software License Agreement
  9.  * specifies the terms and conditions for redistribution.
  10.  */
  11.  
  12. /*
  13.  *  Priorities (these are ordered)
  14.  */
  15. #define LOG_EMERG    0    /* system is unusable */
  16. #define LOG_ALERT    1    /* action must be taken immediately */
  17. #define LOG_CRIT    2    /* critical conditions */
  18. #define LOG_ERR        3    /* error conditions */
  19. #define LOG_WARNING    4    /* warning conditions */
  20. #define LOG_NOTICE    5    /* normal but signification condition */
  21. #define LOG_INFO    6    /* informational */
  22. #define LOG_DEBUG    7    /* debug-level messages */
  23.  
  24. /* XXX - Just in case: */
  25. #define openlog fake_syslog_openlog
  26.