X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=46b1f937163c6f4b65526ea14b6464b640fd331d;hp=9ef4a8fd0e735a00185f2d77b85f08e907edb367;hb=8d95b4cae82fe429d2988b3d95d37325e65ea5ad;hpb=0986fac0d4b42ade44f889ccc107b3ba5af58c5a diff --git a/pppd/pppd.h b/pppd/pppd.h index 9ef4a8f..46b1f93 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.20 1998/03/25 01:30:18 paulus Exp $ + * $Id: pppd.h,v 1.21 1998/03/26 04:46:08 paulus Exp $ */ /* @@ -69,6 +69,7 @@ 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 +177,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 */