HEX
Server: Apache/2
System: Linux ctr1224126.novalocal 4.9.241-37.el7.x86_64 #1 SMP Mon Nov 2 13:55:04 UTC 2020 x86_64
User: gokitchen (1017)
PHP: 8.0.30
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/include/dovecot/acl-global-file.h
#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 stat data for the last refresh. */
void acl_global_file_last_stat(struct acl_global_file *file, struct stat *st_r);

/* 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