summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/hdlc.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-06-09 03:27:43 +0000
committerbrian <brian@FreeBSD.org>1997-06-09 03:27:43 +0000
commit94d661ac8cb907e0a869759f76cd7134c9105e6c (patch)
tree5fa88c28cbdec0d4a0d3d118b33c1042dc49c526 /usr.sbin/ppp/hdlc.h
parent328d28c6502cfec45b8ead98e18b2d8638499efb (diff)
downloadFreeBSD-src-94d661ac8cb907e0a869759f76cd7134c9105e6c.zip
FreeBSD-src-94d661ac8cb907e0a869759f76cd7134c9105e6c.tar.gz
Overhaul ppp:
o Use syslog o Remove references to stdout/stderr (incl perror()) o Introduce VarTerm - the interactive terminal or zero o Allow "set timeout" to affect current session o Change "set debug" to "set log" o Allow "set log [+|-]flag" o Make MSEXT and PASSWDAUTH stuff the default o Move all #ifdef DEBUG stuff into the code - this shouldn't be too much overhead. It's now controlled with "set log +debug" o Add "set log command, debug, tun, warn, error, alert" o Remove cdefs.h, and assume an ansi compiler. o Improve all diagnostic output o Don't trap SIGSEGV o SIGHUP now terminates again (log files are controlled by syslog) o Call CloseModem() when changing devices o Fix parsing of third arg of "delete" I think this fixes the "magic is same" problems that some people have been experiencing. The man page is being rewritten. It'll follow soon.
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r--usr.sbin/ppp/hdlc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h
index c0789b0..4f3ff02 100644
--- a/usr.sbin/ppp/hdlc.h
+++ b/usr.sbin/ppp/hdlc.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: hdlc.h,v 1.7 1997/06/01 01:13:02 brian Exp $
+ * $Id: hdlc.h,v 1.8 1997/06/01 11:35:02 brian Exp $
*
* TODO:
*/
@@ -60,11 +60,11 @@
unsigned char EscMap[33];
-void HdlcInit __P((void));
-void HdlcErrorCheck __P((void));
-void HdlcInput __P((struct mbuf *bp));
-void HdlcOutput __P((int pri, u_short proto, struct mbuf *bp));
-void AsyncOutput __P((int pri, struct mbuf *bp, int proto));
-u_short HdlcFcs __P((u_short, u_char *, int));
-void DecodePacket __P((u_short, struct mbuf *));
+void HdlcInit(void);
+void HdlcErrorCheck(void);
+void HdlcInput(struct mbuf *bp);
+void HdlcOutput(int pri, u_short proto, struct mbuf *bp);
+void AsyncOutput(int pri, struct mbuf *bp, int proto);
+u_short HdlcFcs(u_short, u_char *, int);
+void DecodePacket(u_short, struct mbuf *);
#endif
OpenPOWER on IntegriCloud