X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fccp.h;h=1f15345bc9282652264805d358497ef56ddc3ea9;hp=12e27802892e8720866c89547e382e7a8c20a17e;hb=35832a003df5a3fdd9d9dafa608184b666b8629b;hpb=d32b4a44240713cd8da85f99e306ad127c46476e diff --git a/pppd/ccp.h b/pppd/ccp.h index 12e2780..1f15345 100644 --- a/pppd/ccp.h +++ b/pppd/ccp.h @@ -24,7 +24,7 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ccp.h,v 1.5 1995/10/27 03:43:11 paulus Exp $ + * $Id: ccp.h,v 1.7 1996/07/01 01:11:49 paulus Exp $ */ typedef struct ccp_options { @@ -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,14 +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)); -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;