blob: 37249703540ea2f20012cf0959fcae30c5bcd55c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#define ACL_MAX_KEY 50
typedef struct ACLItem {
ecp_ecdh_public_t key[ACL_MAX_KEY];
unsigned short key_cnt;
struct ACLItem *next;
} ACLItem;
ACLItem *acl_create_item(void);
void acl_destroy_item(ACLItem *acl_item);
void acl_destroy_list(ACLItem *head);
int acl_add_key(ECPDirItem *dir_item);
int acl_inlist(ecp_ecdh_public_t *public);
unsigned int acl_count(void);
int acl_dir_inlist(ecp_ecdh_public_t *public);
unsigned int acl_dir_count(void);
int acl_reset_ht(void);
int acl_load_ht(void);
int acl_load(void);
int acl_init(void);
|