git://git.jankratochvil.net
/
tac_plus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial "gts1" commit.
[tac_plus.git]
/
parse.h
diff --git
a/parse.h
b/parse.h
index
e5be7f7
..
34d72ee
100644
(file)
--- a/
parse.h
+++ b/
parse.h
@@
-1,4
+1,9
@@
-/*
+#ifndef PARSE_H
+#define PARSE_H 1
+
+#include "tac_plus.h"
+
+/*
Copyright (c) 1995-1998 by Cisco systems, Inc.
Permission to use, copy, modify, and distribute this software for
Copyright (c) 1995-1998 by Cisco systems, Inc.
Permission to use, copy, modify, and distribute this software for
@@
-17,8
+22,6
@@
FITNESS FOR A PARTICULAR PURPOSE.
*/
FITNESS FOR A PARTICULAR PURPOSE.
*/
-/* Dummy password, if nopasswd is specified */
-extern char *nopasswd_str;
/* Keywords & values */
/* Keywords & values */
@@
-82,9
+85,24
@@
extern char *nopasswd_str;
#define S_db 44
#define S_db_accounting 45
#endif /*DB*/
#define S_db 44
#define S_db_accounting 45
#endif /*DB*/
-#define S_type 46
#ifdef USE_LDAP
#define S_ldap 47
#endif /* LDAP */
#define S_time 48
#ifdef USE_LDAP
#define S_ldap 47
#endif /* LDAP */
#define S_time 48
+#define S_and 49
+#define S_closeparen 50
+#define S_enlist 51
+#define S_first 52
+#define S_not 53
+#define S_openparen 54
+#define S_or 55
+#define S_recursive 56
+#define S_when 57
+
+
+extern void parser_init TAC_ARGS((void));
+extern int keycode TAC_ARGS((const char *keyword));
+extern const char *codestring TAC_ARGS((int type));
+
+#endif /* PARSE_H */