diff options
author | brian <brian@FreeBSD.org> | 1997-06-09 03:27:43 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-06-09 03:27:43 +0000 |
commit | 94d661ac8cb907e0a869759f76cd7134c9105e6c (patch) | |
tree | 5fa88c28cbdec0d4a0d3d118b33c1042dc49c526 /usr.sbin/ppp/os.h | |
parent | 328d28c6502cfec45b8ead98e18b2d8638499efb (diff) | |
download | FreeBSD-src-94d661ac8cb907e0a869759f76cd7134c9105e6c.zip FreeBSD-src-94d661ac8cb907e0a869759f76cd7134c9105e6c.tar.gz |
Overhaul ppp:
o Use syslog
o Remove references to stdout/stderr (incl perror())
o Introduce VarTerm - the interactive terminal or zero
o Allow "set timeout" to affect current session
o Change "set debug" to "set log"
o Allow "set log [+|-]flag"
o Make MSEXT and PASSWDAUTH stuff the default
o Move all #ifdef DEBUG stuff into the code - this
shouldn't be too much overhead. It's now controlled
with "set log +debug"
o Add "set log command, debug, tun, warn, error, alert"
o Remove cdefs.h, and assume an ansi compiler.
o Improve all diagnostic output
o Don't trap SIGSEGV
o SIGHUP now terminates again (log files are controlled
by syslog)
o Call CloseModem() when changing devices
o Fix parsing of third arg of "delete"
I think this fixes the "magic is same" problems that some
people have been experiencing.
The man page is being rewritten. It'll follow soon.
Diffstat (limited to 'usr.sbin/ppp/os.h')
-rw-r--r-- | usr.sbin/ppp/os.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/ppp/os.h b/usr.sbin/ppp/os.h index 461fe01..6e9e827 100644 --- a/usr.sbin/ppp/os.h +++ b/usr.sbin/ppp/os.h @@ -15,23 +15,23 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: os.h,v 1.5 1997/02/22 16:10:39 peter Exp $ * * TODO: */ #ifndef _OS_H_ #define _OS_H_ -#include "cdefs.h" -int OsSetIpaddress __P((struct in_addr myaddr, struct in_addr hisaddr, struct in_addr netmask)); -int OsInterfaceDown __P((int)); -void OsSetInterfaceParams __P((int type, int mtu, int speed)); -int OpenTunnel __P((int *)); -void OsCloseLink __P((int flag)); -void OsLinkup __P((void)), OsLinkdown __P((void)); -void OsSetRoute __P((int, struct in_addr, struct in_addr, struct in_addr)); -void DeleteIfRoutes __P((int)); -void OsAddInOctets __P((int cnt)); -void OsAddOutOctets __P((int cnt)); +int OsSetIpaddress(struct in_addr myaddr, struct in_addr hisaddr, struct in_addr netmask); +int OsInterfaceDown(int); +void OsSetInterfaceParams(int type, int mtu, int speed); +int OpenTunnel(int *); +void OsCloseLink(int flag); +void OsLinkup(void); +void OsLinkdown (void); +void OsSetRoute(int, struct in_addr, struct in_addr, struct in_addr); +void DeleteIfRoutes(int); +void OsAddInOctets(int cnt); +void OsAddOutOctets(int cnt); #endif |