Deleted Added
full compact
log.h (28461) log.h (28679)
1#define LogMIN (1)
1#define LogMIN (1)
2#define LogASYNC (1) /* syslog(LOG_INFO, ....) */
2#define LogASYNC (1) /* syslog(LOG_INFO, ....) */
3#define LogCARRIER (2)
4#define LogCCP (3)
5#define LogCHAT (4)
6#define LogCOMMAND (5)
7#define LogCONNECT (6)
3#define LogCARRIER (2)
4#define LogCCP (3)
5#define LogCHAT (4)
6#define LogCOMMAND (5)
7#define LogCONNECT (6)
8#define LogDEBUG (7) /* syslog(LOG_DEBUG, ....) */
8#define LogDEBUG (7) /* syslog(LOG_DEBUG, ....) */
9#define LogHDLC (8)
10#define LogIPCP (9)
11#define LogLCP (10)
12#define LogLINK (11)
13#define LogLQM (12)
14#define LogPHASE (13)
15#define LogTCPIP (14)
16#define LogTUN (15) /* If set, tun%d is output with each message */
17#define LogMAXCONF (15)
18#define LogWARN (16) /* Sent to VarTerm else syslog(LOG_WARNING, ) */
19#define LogERROR (17) /* syslog(LOG_ERR, ....), + sent to VarTerm */
9#define LogHDLC (8)
10#define LogIPCP (9)
11#define LogLCP (10)
12#define LogLINK (11)
13#define LogLQM (12)
14#define LogPHASE (13)
15#define LogTCPIP (14)
16#define LogTUN (15) /* If set, tun%d is output with each message */
17#define LogMAXCONF (15)
18#define LogWARN (16) /* Sent to VarTerm else syslog(LOG_WARNING, ) */
19#define LogERROR (17) /* syslog(LOG_ERR, ....), + sent to VarTerm */
20#define LogALERT (18) /* syslog(LOG_ALERT, ....) */
20#define LogALERT (18) /* syslog(LOG_ALERT, ....) */
21#define LogMAX (18)
22
23/* The first int arg for all of the following is one of the above values */
24extern const char *LogName(int);
25extern void LogKeep(int);
26extern void LogDiscard(int);
27extern void LogDiscardAll();
28extern int LogIsKept(int);
29extern void LogOpen(const char *);
30extern void LogSetTun(int);
31extern void LogClose();
21#define LogMAX (18)
22
23/* The first int arg for all of the following is one of the above values */
24extern const char *LogName(int);
25extern void LogKeep(int);
26extern void LogDiscard(int);
27extern void LogDiscardAll();
28extern int LogIsKept(int);
29extern void LogOpen(const char *);
30extern void LogSetTun(int);
31extern void LogClose();
32extern void LogPrintf(int, char *, ...);
33extern void LogDumpBp(int, char *hdr, struct mbuf *bp);
34extern void LogDumpBuff(int, char *hdr, u_char *ptr, int n);
32extern void LogPrintf(int, char *,...);
33extern void LogDumpBp(int, char *hdr, struct mbuf * bp);
34extern void LogDumpBuff(int, char *hdr, u_char * ptr, int n);