diff options
author | brian <brian@FreeBSD.org> | 1997-07-14 01:41:35 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-07-14 01:41:35 +0000 |
commit | e3faa34d53e70df949da831b848a9c199c0d4cde (patch) | |
tree | 6b1eb482a86ab87deaa738693a3f5365440256be /usr.sbin/ppp/vars.h | |
parent | 9ba2a5db74b2ac32478082f8ff0c19b6a328fe2f (diff) | |
download | FreeBSD-src-e3faa34d53e70df949da831b848a9c199c0d4cde.zip FreeBSD-src-e3faa34d53e70df949da831b848a9c199c0d4cde.tar.gz |
Allow a "hangup" capability.
You can now "ATZ" your modem when it's closed.
Submitted by: peter@citylink.dinoex.sub.org (Peter Much)
Diffstat (limited to 'usr.sbin/ppp/vars.h')
-rw-r--r-- | usr.sbin/ppp/vars.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/vars.h b/usr.sbin/ppp/vars.h index 64f9b81..c80bf7f 100644 --- a/usr.sbin/ppp/vars.h +++ b/usr.sbin/ppp/vars.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vars.h,v 1.18 1997/06/09 03:27:42 brian Exp $ + * $Id: vars.h,v 1.19 1997/06/11 03:57:51 brian Exp $ * * TODO: */ @@ -85,6 +85,7 @@ struct pppvars { char phone_copy[200]; /* copy for strsep() */ char *next_phone; /* Next phone from the list */ char shostname[MAXHOSTNAMELEN];/* Local short Host Name */ + char hangup_script[200]; /* Hangup script before modem is closed */ struct aliasHandlers handler; /* Alias function pointers */ }; @@ -99,6 +100,7 @@ struct pppvars { #define VarOpenMode pppVars.open_mode #define VarLocalAuth pppVars.lauth #define VarDialScript pppVars.dial_script +#define VarHangupScript pppVars.hangup_script #define VarLoginScript pppVars.login_script #define VarIdleTimeout pppVars.idle_timeout #define VarLqrTimeout pppVars.lqr_timeout |