summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/hdlc.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1997-10-26 01:04:02 +0000
committerBrian Somers <brian@FreeBSD.org>1997-10-26 01:04:02 +0000
commit75240ed1789e0754da5b1024dcb80dcfc5dae0c3 (patch)
treeef7296fa69b93cfce40120da724736ed6c9b347e /usr.sbin/ppp/hdlc.h
parent11ea2762ebb2a63ea051e522e95837700de85d17 (diff)
downloadsrc-test2-75240ed1789e0754da5b1024dcb80dcfc5dae0c3.tar.gz
src-test2-75240ed1789e0754da5b1024dcb80dcfc5dae0c3.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r--usr.sbin/ppp/hdlc.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h
index ebd52addceb1..362d05c50503 100644
--- a/usr.sbin/ppp/hdlc.h
+++ b/usr.sbin/ppp/hdlc.h
@@ -15,14 +15,11 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: hdlc.h,v 1.9 1997/06/09 03:27:22 brian Exp $
+ * $Id: hdlc.h,v 1.10 1997/08/25 00:29:13 brian Exp $
*
* TODO:
*/
-#ifndef _HDLC_H_
-#define _HDLC_H_
-
/*
* Definition for Async HDLC
*/
@@ -60,12 +57,12 @@
extern u_char EscMap[33];
-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
+extern void HdlcInit(void);
+extern void HdlcErrorCheck(void);
+extern void HdlcInput(struct mbuf *);
+extern void HdlcOutput(int, u_short, struct mbuf *bp);
+extern void AsyncOutput(int, struct mbuf *, int);
+extern u_short HdlcFcs(u_short, u_char *, int);
+extern void DecodePacket(u_short, struct mbuf *);
+extern int ReportHdlcStatus(void);
+extern int ReportProtStatus(void);