diff options
author | brian <brian@FreeBSD.org> | 1997-10-26 01:04:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-10-26 01:04:02 +0000 |
commit | 486b8925ecb0d408e403474828e20c1cce8aaec8 (patch) | |
tree | cca66974908224bf517868aaafb2e4acd1abe88d /usr.sbin/ppp/command.h | |
parent | 1d2927c9fac7bcfe68bf6ab502c716adc91d6f09 (diff) | |
download | FreeBSD-src-486b8925ecb0d408e403474828e20c1cce8aaec8.zip FreeBSD-src-486b8925ecb0d408e403474828e20c1cce8aaec8.tar.gz |
Cosmetic (no functional changes):
o Add missing $Id$s
o Move extern decls from .c -> .h files
o Staticize
o Remove #includes from .h files
o style(9)ify includes
o bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
index -> strchr
rindex -> strrchr
o Move timeout.h -> timer.h (making it consistent w/ timer.c)
o Add -Wmissing-prototypes
Diffstat (limited to 'usr.sbin/ppp/command.h')
-rw-r--r-- | usr.sbin/ppp/command.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.h b/usr.sbin/ppp/command.h index a64cf6d..b491ec4 100644 --- a/usr.sbin/ppp/command.h +++ b/usr.sbin/ppp/command.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.h,v 1.6 1997/09/22 00:46:53 brian Exp $ + * $Id: command.h,v 1.7 1997/09/25 00:52:34 brian Exp $ * * TODO: */ @@ -41,4 +41,11 @@ struct cmdtab { #ifdef HAVE_DES #define VAR_ENC 8 #endif -extern int SetVariable(struct cmdtab const *, int, char **, int var_param); + +extern struct in_addr ifnetmask; +extern int aft_cmd; + +extern int SetVariable(struct cmdtab const *, int, char **, int); +extern void Prompt(void); +extern int IsInteractive(void); +extern void DecodeCommand(char *, int, int); |