X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fupap.h;h=0d38f3bf6e66a7a3be821291a3af550ebd15753b;hp=8b1501964ad29114f5da478937d34047aa873e92;hb=bcfa20820fc9ff3b25bcf62308e3e737c1897dc6;hpb=6f9174716453eb7f8571eccc48c1683947da2514 diff --git a/pppd/upap.h b/pppd/upap.h index 8b15019..0d38f3b 100644 --- a/pppd/upap.h +++ b/pppd/upap.h @@ -16,13 +16,13 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: upap.h,v 1.4 1995/06/12 12:02:25 paulus Exp $ + * $Id: upap.h,v 1.7 1999/11/15 01:51:54 paulus Exp $ */ /* * Packet header = Code, id, length. */ -#define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short)) +#define UPAP_HEADERLEN 4 /* @@ -79,15 +79,9 @@ typedef struct upap_state { #define UPAP_DEFTIMEOUT 3 /* Timeout (seconds) for retransmitting req */ #define UPAP_DEFREQTIME 30 /* Time to wait for auth-req from peer */ - extern upap_state upap[]; -void upap_init __P((int)); void upap_authwithpeer __P((int, char *, char *)); void upap_authpeer __P((int)); -void upap_lowerup __P((int)); -void upap_lowerdown __P((int)); -void upap_input __P((int, u_char *, int)); -void upap_protrej __P((int)); -int upap_printpkt __P((u_char *, int, - void (*) __P((void *, char *, ...)), void *)); + +extern struct protent pap_protent;