source: libabac/abac_rt.h @ 888df49

mei_rt2mei_rt2_fix_1
Last change on this file since 888df49 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
Line 
1
2/************************************************
3 abac_rt.h
4************************************************/
5/* from bison, rt2.y */
6extern FILE *abac_yyin, *abac_yyout;
7extern int yyparse();
8extern void abac_init_yy();
9extern char *abac_get_yap_clause();
10extern void abac_free_yap_clause();
11
12/* from flex, rt2.l */
13extern void abac_rest_yyin(FILE *);
14extern void abac_rest_yyout(FILE *);
15extern FILE *abac_get_yyin();
16extern FILE *abac_get_yyout();
17extern void abac_reset_yyfptr(char *);
18extern char* abac_get_yyfptr();
19extern char* abac_get_yyfptr_encoded();
20extern void abac_push_keyid_yystate();
21extern void abac_push_range_yystate();
22extern void abac_push_yystate(char *);
23extern void abac_pop_yystate();
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.