source: libabac/abac_graph.h @ 15200be

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since 15200be was 15200be, checked in by Mike Ryan <mikeryan@…>, 14 years ago

move libabac into its own directory

  • Property mode set to 100644
File size: 835 bytes
Line 
1#ifndef __GRAPH_H__
2#define __GRAPH_H__
3
4#include "abac.h"
5#include "abac_list.h"
6#include "abac_verifier.h"
7
8typedef struct _abac_graph_t abac_graph_t;
9typedef struct _abac_vertex_t abac_vertex_t;
10
11abac_graph_t *abac_graph_new(void);
12abac_graph_t *abac_graph_dup(abac_graph_t *graph);
13int abac_graph_add_credential(abac_graph_t *graph, abac_credential_t *cred);
14void abac_graph_derive_links(abac_graph_t *graph);
15abac_list_t *abac_graph_postorder(abac_graph_t *graph, abac_role_t *start);
16abac_list_t *abac_graph_postorder_credentials(abac_graph_t *graph, char *start);
17abac_graph_t *abac_graph_query(abac_graph_t *graph, char *role, char *principal);
18abac_list_t *abac_graph_credentials(abac_graph_t *graph);
19void abac_graph_free(abac_graph_t *graph);
20
21abac_role_t *abac_vertex_role(abac_vertex_t *vertex);
22
23#endif /* __GRAPH_H__ */
Note: See TracBrowser for help on using the repository browser.