X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fpppd.h;h=9e03a12c1f743f9115c70d9350521494799d6b42;hb=cdbb124cea5feeb4468ad3f2e5b5d17de583da6d;hp=7d27c1c3ab3c1cb54f5bde45b005ca807afdfdaf;hpb=ffa027207fff95bd19cb529105bd549fb6ae1709;p=ppp.git diff --git a/pppd/pppd.h b/pppd/pppd.h index 7d27c1c..9e03a12 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.60 2001/04/27 23:16:13 paulus Exp $ + * $Id: pppd.h,v 1.62 2001/05/23 03:39:13 paulus Exp $ */ /* @@ -447,6 +447,8 @@ void fatal __P((char *, ...)); /* log an error message and die(1) */ void init_pr_log __P((char *, int)); /* initialize for using pr_log */ void pr_log __P((void *, char *, ...)); /* printer fn, output to syslog */ void end_pr_log __P((void)); /* finish up after using pr_log */ +void dump_packet __P((const char *, u_char *, int)); + /* dump packet to debug log if interesting */ /* Procedures exported from auth.c */ void link_required __P((int)); /* we are starting to use the link */ @@ -502,6 +504,8 @@ int get_pty __P((int *, int *, char *, int)); /* Get pty master/slave */ int open_ppp_loopback __P((void)); /* Open loopback for demand-dialling */ int tty_establish_ppp __P((int)); /* Turn serial port into a ppp interface */ void tty_disestablish_ppp __P((int)); /* Restore port to normal operation */ +void generic_disestablish_ppp __P((int dev_fd)); /* Restore device setting */ +int generic_establish_ppp __P((int dev_fd)); /* Make a ppp interface */ void make_new_bundle __P((int, int, int, int)); /* Create new bundle */ int bundle_attach __P((int)); /* Attach link to existing bundle */ void cfg_bundle __P((int, int, int, int)); /* Configure existing bundle */