source: libabac/abac_verifier.h @ 3f21704

abac0-leak
Last change on this file since 3f21704 was 4f79997, checked in by Mei <mei@…>, 11 years ago

1) add a new scaling test -haystack/ralphs
2) tweak some libabac code here and there

  • Property mode set to 100644
File size: 942 bytes
Line 
1#ifndef __VERIFIER_H__
2#define __VERIFIER_H__
3
4#include "abac.h"
5#include "uthash.h"
6#include "abac_verifier.h"
7
8void abac_verifier_init(void);
9void abac_verifier_deinit(void);
10
11int abac_verifier_load_id_file(abac_list_t*,char *filename, abac_keyid_map_t *);
12int abac_verifier_load_id_chunk(abac_list_t *,abac_chunk_t chunk, abac_keyid_map_t *);
13int abac_verifier_load_attribute_cert_file(abac_list_t *,char *filename, abac_list_t *clist, abac_keyid_map_t *km);
14int abac_verifier_load_attribute_cert_chunk(abac_list_t *,abac_chunk_t chunk, abac_list_t  *clist, abac_keyid_map_t *km);
15
16void abac_id_cert_insert_cert(abac_list_t *, abac_id_cert_t *id_cert);
17void abac_id_cert_delete_cert(abac_list_t *, abac_id_cert_t *id_cert);
18abac_id_cert_t *abac_id_cert_dup(abac_id_cert_t *id_cert);
19int abac_id_cert_count(abac_id_cert_t *);
20char *abac_id_cert_keyid(abac_id_cert_t *);
21char *abac_id_cert_cn(abac_id_cert_t *);
22
23#endif /* __VERIFIER_H__ */
Note: See TracBrowser for help on using the repository browser.