mei_rt2mei_rt2_fix_1meiyap-rt1rt2
Last change
on this file since da5afdf was
da5afdf,
checked in by Mei <mei@…>, 12 years ago
|
1) add static contraint
(limited to integer at this time)
|
-
Property mode set to
100644
|
File size:
920 bytes
|
Rev | Line | |
---|
[a9494ad] | 1 | #ifndef __ABAC_PL_YY_H__ |
---|
| 2 | #define __ABAC_PL_YY_H__ |
---|
| 3 | |
---|
| 4 | /* C declarations */ |
---|
| 5 | #include "abac_pl.h" |
---|
| 6 | #include "abac_list.h" |
---|
| 7 | #include "abac_util.h" |
---|
| 8 | #include "abac_rt.h" |
---|
| 9 | |
---|
| 10 | typedef struct _abac_yy_principal_t abac_yy_principal_t; |
---|
[da5afdf] | 11 | typedef struct _abac_yy_term_principal_t abac_yy_term_principal_t; |
---|
| 12 | typedef struct _abac_yy_term_data_t abac_yy_term_data_t; |
---|
| 13 | typedef struct _abac_yy_term_t abac_yy_term_t; |
---|
[a9494ad] | 14 | typedef struct _abac_yy_role_t abac_yy_role_t; |
---|
[da5afdf] | 15 | typedef struct _abac_yy_oset_t abac_yy_oset_t; |
---|
| 16 | typedef struct _abac_yy_expression_t abac_yy_expression_t; |
---|
[a9494ad] | 17 | |
---|
| 18 | enum expr_rtype { |
---|
[da5afdf] | 19 | e_yy_EXPR_NAMED=1, |
---|
| 20 | e_yy_EXPR_ROLE=2, |
---|
| 21 | e_yy_EXPR_OSET=3, |
---|
| 22 | e_yy_EXPR_LINKED=4, |
---|
| 23 | e_yy_EXPR_OBJECT=5 |
---|
[a9494ad] | 24 | }; |
---|
| 25 | |
---|
| 26 | enum dterm_type { |
---|
[da5afdf] | 27 | e_yy_DTERM_PRINCIPAL=1, |
---|
| 28 | e_yy_DTERM_NAMED=2, |
---|
| 29 | e_yy_DTERM_DATA=3, |
---|
| 30 | e_yy_DTERM_ANONYMOUS=4 |
---|
| 31 | }; |
---|
| 32 | |
---|
| 33 | enum range_type { |
---|
| 34 | e_yy_RANGE_MIN=1, |
---|
| 35 | e_yy_RANGE_MAX=2, |
---|
| 36 | e_yy_RANGE_TARGET=3 |
---|
[a9494ad] | 37 | }; |
---|
| 38 | |
---|
| 39 | #endif /* __ABC_PL_YY_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.