X-Git-Url: http://git.jankratochvil.net/?p=tac_plus.git;a=blobdiff_plain;f=parse.h;h=34d72ee397a81266f47cd28738286aa069e4d09e;hp=e5be7f76b677b95790b5ac764059acd269f751ee;hb=413c510553a773cd16e2b538e4a208b4c4d9f775;hpb=a296ccf128acec69a7db2312ebcc231cd18e5944 diff --git a/parse.h b/parse.h index e5be7f7..34d72ee 100644 --- 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 @@ -17,8 +22,6 @@ FITNESS FOR A PARTICULAR PURPOSE. */ -/* Dummy password, if nopasswd is specified */ -extern char *nopasswd_str; /* Keywords & values */ @@ -82,9 +85,24 @@ extern char *nopasswd_str; #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 +#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 */