/usr/include/dovecot/acl-global-file.h is in dovecot-dev 1:2.2.22-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #ifndef ACL_GLOBAL_FILE_H
#define ACL_GLOBAL_FILE_H
#include "acl-api.h"
struct acl_global_file *
acl_global_file_init(const char *path, unsigned int refresh_interval_secs,
bool debug);
void acl_global_file_deinit(struct acl_global_file **file);
/* Read the global ACLs into memory. */
int acl_global_file_refresh(struct acl_global_file *file);
/* Return global ACL rights matching the mailbox name. The file must already
have been refreshed at least once. */
void acl_global_file_get(struct acl_global_file *file, const char *vname,
pool_t pool, ARRAY_TYPE(acl_rights) *rights_r);
/* Returns TRUE if there are any global ACLs matching the mailbox name. */
bool acl_global_file_have_any(struct acl_global_file *file, const char *vname);
#endif
|