"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "tulp-4.2.1/src/fakesyslog.h" of archive tulp-4.2.1.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2  * fakesyslog.h,v 1.2 1995/07/09 02:45:27 kim Exp
    3  *
    4  * Fake syslog definitions.
    5  *
    6  * @(#)fakesyslog.h     1.1     (Berkeley) 12/18/87
    7  */
    8 
    9 #ifdef FAKESYSLOG
   10 
   11 /*
   12  * Functions
   13  */
   14 
   15 int resetlog(), openlog(), closelog(), setlogmask(), syslog();
   16 
   17 /*
   18  *  Facility codes
   19  */
   20 
   21 #define LOG_KERN	0
   22 #define LOG_USER	0
   23 #define LOG_MAIL	0
   24 #define LOG_DAEMON	0
   25 #define LOG_AUTH	0
   26 #define LOG_SYSLOG	0
   27 #define LOG_LPR		0
   28 #define LOG_NEWS	0
   29 #define LOG_LOCAL0	0
   30 #define LOG_LOCAL1	0
   31 #define LOG_LOCAL2	0
   32 #define LOG_LOCAL3	0
   33 #define LOG_LOCAL4	0
   34 #define LOG_LOCAL5	0
   35 #define LOG_LOCAL6	0
   36 #define LOG_LOCAL7	0
   37 
   38 #define LOG_NFACILITIES	0
   39 #define LOG_FACMASK	0
   40 
   41 /*
   42  *  Priorities
   43  */
   44 
   45 #define LOG_EMERG	0
   46 #define LOG_ALERT	0
   47 #define LOG_CRIT	0
   48 #define LOG_ERR		0
   49 #define LOG_WARNING	0
   50 #define LOG_NOTICE	0
   51 #define LOG_INFO	0
   52 #define LOG_DEBUG	0
   53 
   54 #define LOG_PRIMASK	0
   55 
   56 /*
   57  * arguments to setlogmask.
   58  */
   59 
   60 #define	LOG_MASK(pri)	0
   61 #define	LOG_UPTO(pri)	0
   62 
   63 /*
   64  *  Option flags for openlog.
   65  */
   66 
   67 #define	LOG_PID		1
   68 #define	LOG_CONS	0
   69 #define	LOG_ODELAY	0
   70 #define LOG_NDELAY	0
   71 #define LOG_NOWAIT	0
   72 
   73 #endif /* FAKESYSLOG */