summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/datalink.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-10-25 13:49:44 +0000
committerbrian <brian@FreeBSD.org>1999-10-25 13:49:44 +0000
commitfaf44b90cf2e4d2d75fff652e8cb0061ebab8994 (patch)
treeb36fb5cffe5612b95ee430fdf57bd17fca7266f3 /usr.sbin/ppp/datalink.h
parent6d6b73fcc1ed1fbea8e5b101a078ef2894fd5c1b (diff)
downloadFreeBSD-src-faf44b90cf2e4d2d75fff652e8cb0061ebab8994.zip
FreeBSD-src-faf44b90cf2e4d2d75fff652e8cb0061ebab8994.tar.gz
Introduce ``set logout''; another chat script. This is in preparation
for the abstraction of ``set dial'' and ``set hangup''.
Diffstat (limited to 'usr.sbin/ppp/datalink.h')
-rw-r--r--usr.sbin/ppp/datalink.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/usr.sbin/ppp/datalink.h b/usr.sbin/ppp/datalink.h
index 962f5d3..8101849 100644
--- a/usr.sbin/ppp/datalink.h
+++ b/usr.sbin/ppp/datalink.h
@@ -31,12 +31,13 @@
#define DATALINK_HANGUP (2)
#define DATALINK_DIAL (3)
#define DATALINK_CARRIER (4)
-#define DATALINK_LOGIN (5)
-#define DATALINK_READY (6)
-#define DATALINK_LCP (7)
-#define DATALINK_AUTH (8)
-#define DATALINK_CBCP (9)
-#define DATALINK_OPEN (10)
+#define DATALINK_LOGOUT (5)
+#define DATALINK_LOGIN (6)
+#define DATALINK_READY (7)
+#define DATALINK_LCP (8)
+#define DATALINK_AUTH (9)
+#define DATALINK_CBCP (10)
+#define DATALINK_OPEN (11)
#define DATALINK_MAXNAME (20) /* Maximum datalink::name length */
@@ -65,10 +66,11 @@ struct datalink {
struct {
struct {
- char dial[SCRIPT_LEN]; /* dial */
- char login[SCRIPT_LEN]; /* login */
- char hangup[SCRIPT_LEN]; /* hangup */
- } script;
+ char dial[SCRIPT_LEN];
+ char login[SCRIPT_LEN];
+ char logout[SCRIPT_LEN];
+ char hangup[SCRIPT_LEN];
+ } script; /* various chat scripts */
struct {
char list[SCRIPT_LEN]; /* Telephone Numbers */
} phone;
OpenPOWER on IntegriCloud