source: libabac/abac_context.h @ d0efdec

mei_rt2
Last change on this file since d0efdec was 2e9455f, checked in by Mei <mei@…>, 11 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: 668 bytes
Line 
1#ifndef __ABAC_CONTEXT_H__
2#define __ABAC_CONTEXT_H__
3
4#include <stdio.h>
5#include "abac_defines.h"
6#include "abac_list.h"
7
8/* export */
9extern abac_id_credential_t *abac_context_id_creds(abac_context_t *ctxt);
10extern abac_credential_t *abac_context_attr_creds(abac_context_t *ctxt);
11extern char *abac_context_namespace(abac_context_t *ctxt);
12extern abac_id_credential_t *abac_context_id_credential_lookup(abac_context_t *,char *);
13extern abac_credential_t *abac_context_credential_lookup(abac_context_t *, char*);
14
15extern void abac_print_clauses(abac_list_t *clauses, FILE *fp);
16extern void abac_context_dump(abac_context_t *ctxt);
17
18
19
20#endif /* __ABAC_CONTEXT_H__ */
Note: See TracBrowser for help on using the repository browser.