mei_rt2mei_rt2_fix_1
Last change
on this file since 05acf45 was
8bd77b5,
checked in by Mei <mei@…>, 12 years ago
|
1) convert parser and libabac to use id cred and attr cred like
creddy (move those 2 files to libabac).
2) fix up abac.hh to work with expanded libabac. can now build
structure from python script
3) redid the credential dump using the internal credential table
instead of depending on a search in db.
|
-
Property mode set to
100644
|
File size:
930 bytes
|
Rev | Line | |
---|
[e95d652] | 1 | |
---|
| 2 | /************************************************ |
---|
[718ad924] | 3 | abac_rt.h |
---|
[e95d652] | 4 | ************************************************/ |
---|
[b5a3da4] | 5 | /* from bison, rt2.y */ |
---|
[e95d652] | 6 | extern FILE *abac_yyin, *abac_yyout; |
---|
| 7 | extern int yyparse(); |
---|
| 8 | extern void abac_init_yy(); |
---|
| 9 | extern char *abac_get_yap_clause(); |
---|
[718ad924] | 10 | extern void abac_free_yap_clause(); |
---|
[e95d652] | 11 | |
---|
[b5a3da4] | 12 | /* from flex, rt2.l */ |
---|
[e95d652] | 13 | extern void abac_rest_yyin(FILE *); |
---|
| 14 | extern void abac_rest_yyout(FILE *); |
---|
| 15 | extern FILE *abac_get_yyin(); |
---|
| 16 | extern FILE *abac_get_yyout(); |
---|
| 17 | extern void abac_reset_yyfptr(char *); |
---|
| 18 | extern char* abac_get_yyfptr(); |
---|
[da5afdf] | 19 | extern char* abac_get_yyfptr_encoded(); |
---|
[b5a3da4] | 20 | extern void abac_push_keyid_yystate(); |
---|
| 21 | extern void abac_push_range_yystate(); |
---|
| 22 | extern void abac_push_yystate(char *); |
---|
| 23 | extern void abac_pop_yystate(); |
---|
[718ad924] | 24 | |
---|
| 25 | /* on error code */ |
---|
| 26 | #define ABAC_RT_ROLE_INVALID -1 /* */ |
---|
| 27 | #define ABAC_RT_CERT_INVALID -2 /* */ |
---|
| 28 | #define ABAC_RT_CERT_BAD_SIG -3 /* */ |
---|
| 29 | #define ABAC_RT_CERT_MISSING_ISSUER -4 /* */ |
---|
Note: See
TracBrowser
for help on using the repository browser.