summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/ccp.h
diff options
context:
space:
mode:
authorjoshd <joshd@cvs.openbsd.org>1996-07-20 12:02:16 +0000
committerjoshd <joshd@cvs.openbsd.org>1996-07-20 12:02:16 +0000
commitd1ca06e9f2af777503835fcef79a3827eef02cd2 (patch)
tree0a8b89f672dd48513d85694a0f63e93191380c82 /usr.sbin/pppd/ccp.h
parentb9db315696088975891987c416c6eafdbed087eb (diff)
Update pppd to 2.3a4:
Add redo option error-reporting, add PAM, add microsoft compatibility kludges, bzero stuff at important places, add one or two options other generic enhancements. From: Paul.Mackerras@cs.anu.edu.au
Diffstat (limited to 'usr.sbin/pppd/ccp.h')
-rw-r--r--usr.sbin/pppd/ccp.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/usr.sbin/pppd/ccp.h b/usr.sbin/pppd/ccp.h
index 4907e636098..95bf811035f 100644
--- a/usr.sbin/pppd/ccp.h
+++ b/usr.sbin/pppd/ccp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccp.h,v 1.2 1996/03/25 15:55:33 niklas Exp $ */
+/* $OpenBSD: ccp.h,v 1.3 1996/07/20 12:02:05 joshd Exp $ */
/*
* ccp.h - Definitions for PPP Compression Control Protocol.
@@ -34,6 +34,7 @@ typedef struct ccp_options {
u_int predictor_2: 1; /* do Predictor-2? */
u_short bsd_bits; /* # bits/code for BSD Compress */
u_short deflate_size; /* lg(window size) for Deflate */
+ short method; /* code for chosen compression method */
} ccp_options;
extern fsm ccp_fsm[];
@@ -42,16 +43,4 @@ extern ccp_options ccp_gotoptions[];
extern ccp_options ccp_allowoptions[];
extern ccp_options ccp_hisoptions[];
-void ccp_init __P((int unit));
-void ccp_open __P((int unit));
-void ccp_close __P((int unit, char *));
-void ccp_lowerup __P((int unit));
-void ccp_lowerdown __P((int));
-void ccp_input __P((int unit, u_char *pkt, int len));
-void ccp_protrej __P((int unit));
-int ccp_printpkt __P((u_char *pkt, int len,
- void (*printer) __P((void *, char *, ...)),
- void *arg));
-void ccp_datainput __P((int unit, u_char *pkt, int len));
-
extern struct protent ccp_protent;