61 int userconf_get_buffer(
const struct userconf *ds,
const char *key,
char ***values, checkfunc cf,
const unsigned int flags) __attribute__ ((nonnull (1,2,3)));
74 int userconf_find_domain(
const struct userconf *ds,
const char *key,
const char *domain,
const unsigned int flags) __attribute__ ((nonnull (1,2,3)));
string domainpath
Definition: userconf.h:11
int userbackend_init(void)
initialize the backend to query for local users
Definition: vpop.c:405
Definition: userconf.h:19
void userbackend_free(void)
free the resources needed by the user backend
Definition: vpop.c:419
Definition: userconf.h:21
int domaindirfd
Definition: userconf.h:14
Definition: userconf.h:10
int userconf_load_configs(struct userconf *ds)
load the filter settings for user and domain
Definition: vpop.c:451
char ** domainconf
Definition: userconf.h:13
void userconf_init(struct userconf *ds)
initialize the struct userconf
Definition: vpop.c:427
int userconf_find_domain(const struct userconf *ds, const char *key, const char *domain, const unsigned int flags)
find a domain in the user configuration key
Definition: vpop.c:574
definition of string record and headers of corresponding helper functions
Definition: userconf.h:20
headers of functions for control file handling
userconf_flags
Definition: userconf.h:18
void userconf_free(struct userconf *ds)
free all information in a struct userconf
Definition: vpop.c:437
int userdirfd
Definition: userconf.h:15
int userconf_get_buffer(const struct userconf *ds, const char *key, char ***values, checkfunc cf, const unsigned int flags)
get a config buffer for a given user or domain
Definition: vpop.c:479
char ** userconf
Definition: userconf.h:12