# 2.11BSD#431 - /usr/src/new/nntp/server/fakesyslog.h

##### Macros

    LOG_ALERT         X
    LOG_AUTH          X
    LOG_CONS          X
    LOG_CRIT          X
    LOG_DAEMON        X
    LOG_DEBUG         X
    LOG_EMERG         X
    LOG_ERR           X
    LOG_FACMASK       X
    LOG_INFO          X
    LOG_KERN          X
    LOG_LOCAL0        X
    LOG_LOCAL1        X
    LOG_LOCAL2        X
    LOG_LOCAL3        X
    LOG_LOCAL4        X
    LOG_LOCAL5        X
    LOG_LOCAL6        X
    LOG_LOCAL7        X
    LOG_LPR           X
    LOG_MAIL          X
    LOG_MASK          X
    LOG_NDELAY        X
    LOG_NEWS          X
    LOG_NFACILITIES   X
    LOG_NOTICE        X
    LOG_NOWAIT        X
    LOG_ODELAY        X
    LOG_PID           X
    LOG_PRIMASK       X
    LOG_SYSLOG        X
    LOG_UPTO          X
    LOG_USER          X
    LOG_WARNING       X

       1: /*
       2:  * Fake syslog definitions.
       3:  *
       4:  * @(#)fakesyslog.h	1.1	(Berkeley) 12/18/87
       5:  */
       6:
       7: #ifdef FAKESYSLOG
       8:
       9: /*
      10:  *  Facility codes
      11:  */
      12:
      13: #define LOG_KERN    0
      14: #define LOG_USER    0
      15: #define LOG_MAIL    0
      16: #define LOG_DAEMON  0
      17: #define LOG_AUTH    0
      18: #define LOG_SYSLOG  0
      19: #define LOG_LPR     0
      20: #define LOG_NEWS    0
      21: #define LOG_LOCAL0  0
      22: #define LOG_LOCAL1  0
      23: #define LOG_LOCAL2  0
      24: #define LOG_LOCAL3  0
      25: #define LOG_LOCAL4  0
      26: #define LOG_LOCAL5  0
      27: #define LOG_LOCAL6  0
      28: #define LOG_LOCAL7  0
      29:
      30: #define LOG_NFACILITIES 0
      31: #define LOG_FACMASK 0
      32:
      33: /*
      34:  *  Priorities
      35:  */
      36:
      37: #define LOG_EMERG   0
      38: #define LOG_ALERT   0
      39: #define LOG_CRIT    0
      40: #define LOG_ERR     0
      41: #define LOG_WARNING 0
      42: #define LOG_NOTICE  0
      43: #define LOG_INFO    0
      44: #define LOG_DEBUG   0
      45:
      46: #define LOG_PRIMASK 0
      47:
      48: /*
      49:  * arguments to setlogmask.
      50:  */
      51:
      52: #define LOG_MASK(pri)   0
      53: #define LOG_UPTO(pri)   0
      54:
      55: /*
      56:  *  Option flags for openlog.
      57:  */
      58:
      59: #define LOG_PID     0
      60: #define LOG_CONS    0
      61: #define LOG_ODELAY  0
      62: #define LOG_NDELAY  0
      63: #define LOG_NOWAIT  0
      64:
      65: #endif FAKESYSLOG

#### Defined macros

LOG_ALERT defined in line 38; never used
LOG_AUTH defined in line 17; never used
LOG_CONS defined in line 60; never used
LOG_CRIT defined in line 39; never used
LOG_DAEMON defined in line 16; never used
LOG_DEBUG defined in line 44; used 2 times

- in /usr/src/new/nntp/server/ihave.c line 40, 61

LOG_EMERG defined in line 37; never used
LOG_ERR defined in line 40; used 38 times

- in /usr/src/new/nntp/server/access.c line 92, 117, 155
- in /usr/src/new/nntp/server/access_dnet.c line 59
- in /usr/src/new/nntp/server/access_inet.c line 49
- in /usr/src/new/nntp/server/active.c line 52, 59, 68, 77, 93
- in /usr/src/new/nntp/server/list.c line 32
- in /usr/src/new/nntp/server/main.c line 62, 82, 94
- in /usr/src/new/nntp/server/misc.c line 127, 146, 158, 181, 191, 206
- in /usr/src/new/nntp/server/netaux.c line 107, 132, 141, 208
- in /usr/src/new/nntp/server/newgroups.c line 37
- in /usr/src/new/nntp/server/newnews.c line 142, 412
- in /usr/src/new/nntp/server/post.c line 35
- in /usr/src/new/nntp/server/serve.c line 244, 309
- in /usr/src/new/nntp/server/spawn.c line 114-117(2), 131, 179, 197, 217, 224, 249

LOG_FACMASK defined in line 31; never used
LOG_INFO defined in line 43; used 11 times

- in /usr/src/new/nntp/server/access.c line 129
- in /usr/src/new/nntp/server/group.c line 68
- in /usr/src/new/nntp/server/newnews.c line 59
- in /usr/src/new/nntp/server/post.c line 24, 50
- in /usr/src/new/nntp/server/serve.c line 138, 224, 270-276(3), 284

LOG_KERN defined in line 13; never used
LOG_LOCAL0 defined in line 21; never used
LOG_LOCAL1 defined in line 22; never used
LOG_LOCAL2 defined in line 23; never used
LOG_LOCAL3 defined in line 24; never used
LOG_LOCAL4 defined in line 25; never used
LOG_LOCAL5 defined in line 26; never used
LOG_LOCAL6 defined in line 27; never used
LOG_LOCAL7 defined in line 28; never used
LOG_LPR defined in line 19; never used
LOG_MAIL defined in line 15; never used
LOG_MASK defined in line 52; never used
LOG_NDELAY defined in line 62; never used
LOG_NEWS defined in line 20; never used
LOG_NFACILITIES defined in line 30; never used
LOG_NOTICE defined in line 42; never used
LOG_NOWAIT defined in line 63; never used
LOG_ODELAY defined in line 61; never used
LOG_PID defined in line 59; used 4 times

- in /usr/src/new/nntp/server/main.c line 39-41(2)
- in /usr/src/new/nntp/server/serve.c line 109-111(2)

LOG_PRIMASK defined in line 46; never used
LOG_SYSLOG defined in line 18; never used
LOG_UPTO defined in line 53; never used
LOG_USER defined in line 14; never used
LOG_WARNING defined in line 41; never used

#### Usage of this include

fakesyslog.h used 1 times

- in /usr/src/new/nntp/server/common.h line 22

Last modified: 1987-12-19 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1286 |