diff options
author | peter <peter@FreeBSD.org> | 1998-06-20 18:02:16 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-20 18:02:16 +0000 |
commit | 5cb66c6885ce2fb21048949b4aa0af165ec63e16 (patch) | |
tree | e335188d886ace2e1696ed1573aaf22490a6097c /usr.sbin/pppd/pppd.h | |
parent | a63a049b7c08070a2a25b3dd460c29d65dfe6d19 (diff) | |
download | FreeBSD-src-5cb66c6885ce2fb21048949b4aa0af165ec63e16.zip FreeBSD-src-5cb66c6885ce2fb21048949b4aa0af165ec63e16.tar.gz |
Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.
Diffstat (limited to 'usr.sbin/pppd/pppd.h')
-rw-r--r-- | usr.sbin/pppd/pppd.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pppd/pppd.h b/usr.sbin/pppd/pppd.h index e1a63b7..ce3a757 100644 --- a/usr.sbin/pppd/pppd.h +++ b/usr.sbin/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.10 1997/10/10 06:02:57 peter Exp $ + * $Id: pppd.h,v 1.11 1997/10/10 09:28:38 peter Exp $ */ /* @@ -68,6 +68,8 @@ extern int redirect_stderr;/* Connector's stderr should go to file */ extern char peer_authname[];/* Authenticated name of peer */ extern int privileged; /* We were run by real-uid root */ extern int need_holdoff; /* Need holdoff period after link terminates */ +extern char **script_env; /* Environment variables for scripts */ +extern int detached; /* Have detached from controlling tty */ /* * Variables set by command-line options. @@ -176,6 +178,7 @@ extern struct protent *protocols[]; */ /* Procedures exported from main.c. */ +void detach __P((void)); /* Detach from controlling tty */ void die __P((int)); /* Cleanup and exit */ void quit __P((void)); /* like die(1) */ void novm __P((char *)); /* Say we ran out of memory, and die */ @@ -195,6 +198,8 @@ void print_string __P((char *, int, void (*) (void *, char *, ...), void *)); /* Format a string for output */ int fmtmsg __P((char *, int, char *, ...)); /* sprintf++ */ int vfmtmsg __P((char *, int, char *, va_list)); /* vsprintf++ */ +void script_setenv __P((char *, char *)); /* set script env var */ +void script_unsetenv __P((char *)); /* unset script env var */ /* Procedures exported from auth.c */ void link_required __P((int)); /* we are starting to use the link */ @@ -294,6 +299,7 @@ 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 */ #ifdef PPP_FILTER int set_filters __P((struct bpf_program *pass, struct bpf_program *active)); /* Set filter programs in kernel */ |