view src/auth/userdb-template.h @ 23017:c1d36f2575c7 default tip

lib-imap: Fix "Don't accept strings with NULs" cherry-pick
author Timo Sirainen <timo.sirainen@open-xchange.com>
date Thu, 29 Aug 2019 09:55:25 +0300
parents 60f3d0b8900d
children
line wrap: on
line source

#ifndef USERDB_TEMPLATE_H
#define USERDB_TEMPLATE_H

struct userdb_template *
userdb_template_build(pool_t pool, const char *userdb_name, const char *args);
void userdb_template_export(struct userdb_template *tmpl,
			    struct auth_request *auth_request);
bool userdb_template_remove(struct userdb_template *tmpl,
			    const char *key, const char **value_r);
bool userdb_template_is_empty(struct userdb_template *tmpl);

#endif