summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-09-22 00:46:56 +0000
committerbrian <brian@FreeBSD.org>1997-09-22 00:46:56 +0000
commit5e4ed6c8541fc07b1eb6971cd44ee732ebcb66d3 (patch)
treefe5562a0bdcd18c7052517572eefa55caa014831 /usr.sbin/ppp/command.h
parent2982eff94c3ed9ab3f10f5e79ea41d0eeb5dc2bc (diff)
downloadFreeBSD-src-5e4ed6c8541fc07b1eb6971cd44ee732ebcb66d3.zip
FreeBSD-src-5e4ed6c8541fc07b1eb6971cd44ee732ebcb66d3.tar.gz
Correct the way the uucp lock file and the ttyXX.if lock
file get created. We don't create lock files over non-tty connections, but we *do* create lock files in -direct mode. This leaves us capable of adding utmp/wtmp support for successful pap & chap logins (coming soon).
Diffstat (limited to 'usr.sbin/ppp/command.h')
-rw-r--r--usr.sbin/ppp/command.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.sbin/ppp/command.h b/usr.sbin/ppp/command.h
index 04f918e..bc9f67f 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.4 1997/02/22 16:10:09 peter Exp $
+ * $Id: command.h,v 1.5 1997/08/25 00:29:09 brian Exp $
*
* TODO:
*/
@@ -29,3 +29,15 @@ struct cmdtab {
char *syntax;
void *args;
};
+
+#define VAR_AUTHKEY 0
+#define VAR_DIAL 1
+#define VAR_LOGIN 2
+#define VAR_AUTHNAME 3
+#define VAR_DEVICE 4
+#define VAR_ACCMAP 5
+#define VAR_PHONE 6
+#define VAR_HANGUP 7
+#define VAR_ENC 8
+
+extern int SetVariable(struct cmdtab const *, int, char **, int var_param);
OpenPOWER on IntegriCloud