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/modem.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/modem.h')
-rw-r--r-- | usr.sbin/ppp/modem.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/usr.sbin/ppp/modem.h b/usr.sbin/ppp/modem.h index b4befe0..1cdace7 100644 --- a/usr.sbin/ppp/modem.h +++ b/usr.sbin/ppp/modem.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: modem.h,v 1.7 1997/02/22 16:10:37 peter Exp $ * * TODO: */ @@ -24,22 +24,21 @@ #define _MODEM_H_ #include <termios.h> #include "mbuf.h" -#include "cdefs.h" -extern int RawModem __P((int)); -extern void UnrawModem __P((int)); -extern void UpModem __P((int)); -extern void DownModem __P((int)); -extern void WriteModem __P((int, char *, int)); -extern void ModemStartOutput __P((int)); -extern int OpenModem __P((int)); -extern void CloseModem __P((void)); -extern int ModemSpeed __P((void)); -extern int ModemQlen __P((void)); -extern int DialModem __P((void)); -extern int SpeedToInt __P((speed_t)); -extern speed_t IntToSpeed __P((int)); -extern void ModemTimeout __P((void)); -extern void DownConnection __P((void)); -extern void ModemOutput __P((int, struct mbuf *)); +extern int RawModem(int); +extern void UnrawModem(int); +extern void UpModem(int); +extern void DownModem(int); +extern void WriteModem(int, char *, int); +extern void ModemStartOutput(int); +extern int OpenModem(int); +extern void CloseModem(void); +extern int ModemSpeed(void); +extern int ModemQlen(void); +extern int DialModem(void); +extern int SpeedToInt(speed_t); +extern speed_t IntToSpeed(int); +extern void ModemTimeout(void); +extern void DownConnection(void); +extern void ModemOutput(int, struct mbuf *); #endif |