X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=66b0107efca7dc9fc2751a4b820fe16a7da4b530;hp=ff8deadbbcb4e56c6b885782c17f40f6bc7adc2c;hb=7ff1691466ad589562e84516e29a4a83bab71e1f;hpb=035aefdd1f25f6bdeb73b42a11fd8da76118a405 diff --git a/pppd/pppd.h b/pppd/pppd.h index ff8dead..66b0107 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pppd.h,v 1.6 1994/10/24 04:31:11 paulus Exp $ + * $Id: pppd.h,v 1.8 1995/04/26 06:46:31 paulus Exp $ */ /* @@ -49,7 +49,6 @@ extern int hungup; /* Physical layer has disconnected */ extern int ifunit; /* Interface unit number */ extern char ifname[]; /* Interface name */ extern int fd; /* Serial device file descriptor */ -extern int s; /* Socket descriptor */ extern char hostname[]; /* Our hostname */ extern u_char outpacket_buf[]; /* Buffer for outgoing packets */ extern int phase; /* Current state of link - see values below */ @@ -84,6 +83,8 @@ extern char our_name[]; /* Our name for authentication purposes */ extern char remote_name[]; /* Peer's name for authentication */ extern int usehostname; /* Use hostname for our_name */ extern int disable_defaultip; /* Don't use hostname for default IP adrs */ +extern char *ipparam; /* Extra parameter for ip up/down scripts */ +extern int cryptpap; /* Others' PAP passwords are encrypted */ /* * Values for phase. @@ -152,7 +153,9 @@ void die __P((int)); #define INCPTR(n, cp) ((cp) += (n)) #define DECPTR(n, cp) ((cp) -= (n)) +#undef FALSE #define FALSE 0 +#undef TRUE #define TRUE 1 /*