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:
819 bytes
|
Line | |
---|
1 | #ifndef __ABAC_PL_YAP_H__ |
---|
2 | #define __ABAC_PL_YAP_H__ |
---|
3 | |
---|
4 | #include "abac_internal.h" |
---|
5 | #include "abac_stack.h" |
---|
6 | |
---|
7 | #define ABAC_PL_CRED_OK 0 // adding a credential succeeded |
---|
8 | #define ABAC_PL_CRED_INVALID -1 // the credential was invalid |
---|
9 | #define ABAC_PL_CRED_DUP -2 // the credential is already present |
---|
10 | |
---|
11 | |
---|
12 | /* export */ |
---|
13 | extern abac_pl_t *abac_pl_new(abac_context_t *); |
---|
14 | extern abac_stack_t *abac_pl_query_with_structure(abac_pl_t *pl, abac_aspect_t *head_aspect, abac_aspect_t *tail_aspect); |
---|
15 | extern abac_stack_t *abac_pl_query_again(abac_pl_t *); |
---|
16 | extern abac_stack_t *abac_pl_query(abac_pl_t *, char *, char *); |
---|
17 | extern char *abac_pl_add_range_constraint_clause(char *var, char *tmplist); |
---|
18 | extern int abac_pl_remove_credential(abac_list_t *clauses); |
---|
19 | extern void abac_pl_init(); |
---|
20 | |
---|
21 | #endif /* __ABAC_PL_YAP_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.