mei_rt2
Last change
on this file since e10abf8 was
2e9455f,
checked in by Mei <mei@…>, 12 years ago
|
1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule
|
-
Property mode set to
100644
|
File size:
763 bytes
|
Line | |
---|
1 | #ifndef __ABAC_PL_GEN_H__ |
---|
2 | #define __ABAC_PL_GEN_H__ |
---|
3 | |
---|
4 | #include "abac_internal.h" |
---|
5 | #include "abac_list.h" |
---|
6 | |
---|
7 | #define PROLOG(BODY) { \ |
---|
8 | ABAC_IN_PROLOG++; \ |
---|
9 | { BODY } \ |
---|
10 | ABAC_IN_PROLOG--; \ |
---|
11 | } |
---|
12 | |
---|
13 | /* exported */ |
---|
14 | extern int ABAC_IN_PROLOG; |
---|
15 | |
---|
16 | extern abac_list_t *generate_pl_clauses(abac_context_t *,abac_aspect_t*, abac_aspect_t*, char *,int); |
---|
17 | |
---|
18 | /* used by abac_pl_pre only */ |
---|
19 | extern char *generate_pl_range_constraint(char*,char*,char*,char*); |
---|
20 | extern char *generate_pl_range_time_constraint(char*,char*,char*); |
---|
21 | extern char* generate_pl_constraint_clause(abac_context_t *,abac_aspect_t*, char*); |
---|
22 | extern char *generate_pl_type_clause(abac_context_t *,char *, int); |
---|
23 | |
---|
24 | extern void abac_pl_add_constraints(char *constraint); |
---|
25 | |
---|
26 | #endif /* __ABAC_PL_GEN_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.