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/lcp.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/lcp.h')
-rw-r--r-- | usr.sbin/ppp/lcp.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/ppp/lcp.h b/usr.sbin/ppp/lcp.h index d6ec17e..32e520a 100644 --- a/usr.sbin/ppp/lcp.h +++ b/usr.sbin/ppp/lcp.h @@ -15,14 +15,11 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.h,v 1.7 1997/06/09 03:27:25 brian Exp $ + * $Id: lcp.h,v 1.8 1997/08/25 00:29:15 brian Exp $ * * TODO: */ -#ifndef _LCP_H_ -#define _LPC_H_ - struct lcpstate { u_long his_mru; u_long his_accmap; @@ -73,6 +70,7 @@ struct lqrreq { }; extern struct lcpstate LcpInfo; +extern struct fsm LcpFsm; extern void LcpInit(void); extern void LcpUp(void); @@ -80,5 +78,5 @@ extern void LcpSendProtoRej(u_char *, int); extern void LcpOpen(int mode); extern void LcpClose(void); extern void LcpDown(void); - -#endif +extern void PutConfValue(u_char **, char **, u_char, int, u_long); +extern int ReportLcpStatus(void); |