X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=5dece103e2a16c362bf6f14903bd8058f12219ff;hp=a51c99c80418616e1c4847e3571b227f97b27d1f;hb=e8be982dbc5c6c50dfc9f66737867570c8ed4973;hpb=c1d7b083dc15423cae75be3c8b50a9a35aceac21 diff --git a/pppd/pppd.h b/pppd/pppd.h index a51c99c..5dece10 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.36 1999/03/30 06:33:09 paulus Exp $ + * $Id: pppd.h,v 1.38 1999/04/12 06:24:47 paulus Exp $ */ /* @@ -145,6 +145,8 @@ extern int ngroups; /* How many groups valid in groups */ extern struct pppd_stats link_stats; /* byte/packet counts etc. for link */ extern int link_stats_valid; /* set if link_stats is valid */ extern int using_pty; /* using pty as device (notty or pty opt.) */ +extern int log_to_fd; /* logging to this fd as well as syslog */ +extern char *no_ppp_msg; /* message to print if ppp not in kernel */ /* * Variables set by command-line options. @@ -285,6 +287,7 @@ void notice __P((char *, ...)); /* log a notice-level message */ void warn __P((char *, ...)); /* log a warning message */ void error __P((char *, ...)); /* log an error message */ void fatal __P((char *, ...)); /* log an error message and die(1) */ +void reopen_log __P((void)); /* (re)open the connection to syslog */ /* Procedures exported from auth.c */ void link_required __P((int)); /* we are starting to use the link */ @@ -380,8 +383,8 @@ int cifproxyarp __P((int, u_int32_t)); /* Delete proxy ARP entry for peer */ u_int32_t GetMask __P((u_int32_t)); /* Get appropriate netmask for address */ int lock __P((char *)); /* Create lock file for device */ +int relock __P((int)); /* Rewrite lock file with new pid */ void unlock __P((void)); /* Delete previously-created lock file */ -int daemon __P((int, int)); /* Detach us from terminal session */ void logwtmp __P((const char *, const char *, const char *)); /* Write entry to wtmp file */ int get_host_seed __P((void)); /* Get host-dependent random number seed */