summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/log.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-04 01:17:05 +0000
committerbrian <brian@FreeBSD.org>1997-11-04 01:17:05 +0000
commitbd52968d26311964fedc5301c206df302f372273 (patch)
treef001d2d5c1ea74b74efa5b0b9686fae06243301a /usr.sbin/ppp/log.h
parent9e1a11429b69867cc575ecf805ef1c0c4ae8ba42 (diff)
downloadFreeBSD-src-bd52968d26311964fedc5301c206df302f372273.zip
FreeBSD-src-bd52968d26311964fedc5301c206df302f372273.tar.gz
Introduce [local] to "set log [local] ...". This spits
logging out to the screen in terminal mode - should be good for installation problem diagnosis.
Diffstat (limited to 'usr.sbin/ppp/log.h')
-rw-r--r--usr.sbin/ppp/log.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ppp/log.h b/usr.sbin/ppp/log.h
index f7520aa..e3197c7 100644
--- a/usr.sbin/ppp/log.h
+++ b/usr.sbin/ppp/log.h
@@ -1,5 +1,5 @@
/*
- * $Id: $
+ * $Id: log.h,v 1.14 1997/10/26 01:03:06 brian Exp $
*/
#define LogMIN (1)
@@ -27,8 +27,13 @@
/* The first int arg for all of the following is one of the above values */
extern const char *LogName(int);
extern void LogKeep(int);
+extern void LogKeepLocal(int);
extern void LogDiscard(int);
+extern void LogDiscardLocal(int);
extern void LogDiscardAll(void);
+extern void LogDiscardAllLocal(void);
+#define LOG_KEPT_SYSLOG (1) /* Results of LogIsKept() */
+#define LOG_KEPT_LOCAL (2) /* Results of LogIsKept() */
extern int LogIsKept(int);
extern void LogOpen(const char *);
extern void LogSetTun(int);
OpenPOWER on IntegriCloud