1 | #ifndef __ABAC_VERIFIER_H__ |
---|
2 | #define __ABAC_VERIFIER_H__ |
---|
3 | |
---|
4 | #include "abac_defines.h" |
---|
5 | |
---|
6 | /* exported */ |
---|
7 | extern char *abac_cn_with_sha(char *); |
---|
8 | extern char *abac_idtype_with_sha(char*); |
---|
9 | extern char *abac_idtype_string(int); |
---|
10 | extern int abac_verifier_session_remove_context(abac_context_t *); |
---|
11 | extern void abac_verifier_session_add_context(abac_context_t *); |
---|
12 | extern abac_id_credential_t *abac_id_credential_dup(abac_id_credential_t *); |
---|
13 | extern abac_id_credential_t *abac_id_credential_lookup(char *); |
---|
14 | extern char *abac_verifier_session_next_namespace(); |
---|
15 | extern void abac_add_cred(abac_credential_t *cred); |
---|
16 | extern abac_id_credential_t *abac_check_id_cred(char *); |
---|
17 | extern abac_credential_t *abac_check_cred(char *); |
---|
18 | extern abac_id_credential_t *abac_id_credential_new(abac_id_t *a_id); |
---|
19 | extern abac_credential_t *abac_credential_lookup(char* cred_string); |
---|
20 | extern char *abac_credential_hashkey(abac_credential_t *ptr); |
---|
21 | extern char *abac_id_credential_hashkey(abac_id_credential_t *ptr); |
---|
22 | extern abac_credential_t *abac_credential_dup(abac_credential_t *ptr); |
---|
23 | extern abac_credential_t *abac_credential_new(abac_attribute_t *attr, char*); |
---|
24 | extern abac_id_t *abac_id_credential_id(abac_id_credential_t *ptr); |
---|
25 | extern void abac_print_cred_info(abac_credential_t *cred, FILE *fp); |
---|
26 | extern void abac_print_typed_cred_info(abac_credential_t *cred, FILE *fp); |
---|
27 | extern abac_attribute_t *abac_credential_attribute(abac_credential_t *ptr); |
---|
28 | extern void abac_verifier_session_dump(); |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | #endif /* __ABAC_VERIFIER_H__ */ |
---|