27 */ |
27 */ |
28 |
28 |
29 #ifndef ACLCONF_H |
29 #ifndef ACLCONF_H |
30 #define ACLCONF_H |
30 #define ACLCONF_H |
31 |
31 |
32 #include <ucx/list.h> |
32 #include <cx/list.h> |
33 #include <ucx/map.h> |
33 #include <cx/map.h> |
34 |
34 |
35 #include "acl.h" |
35 #include "acl.h" |
36 #include "../config/acl.h" |
36 #include "../config/acl.h" |
37 |
37 |
38 #ifdef __cplusplus |
38 #ifdef __cplusplus |
39 extern "C" { |
39 extern "C" { |
40 #endif |
40 #endif |
41 |
41 |
42 typedef struct acl_data { |
42 typedef struct acl_data { |
43 UcxMap *namedACLs; |
43 CxMap *namedACLs; |
44 } ACLData; |
44 } ACLData; |
45 |
45 |
46 ACLData* acl_data_new(); |
46 ACLData* acl_data_new(); |
47 |
47 |
48 ACLList* acl_get(ACLData *acldata, char *name); |
48 ACLList* acl_get(ACLData *acldata, const char *name); |
49 |
49 |
50 #ifdef __cplusplus |
50 #ifdef __cplusplus |
51 } |
51 } |
52 #endif |
52 #endif |
53 |
53 |