From: Timo Sirainen Date: Fri, 14 Feb 2025 08:10:57 +0000 (+0200) Subject: auth: Move STATIC_PASS_SCHEME to passdb.h X-Git-Tag: 2.4.1~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcb3cc58520f3bcb4afe3d0e3251044e5a091f13;p=thirdparty%2Fdovecot%2Fcore.git auth: Move STATIC_PASS_SCHEME to passdb.h --- diff --git a/src/auth/passdb-template.h b/src/auth/passdb-template.h index 1aa8af5af7..6bcdbc7297 100644 --- a/src/auth/passdb-template.h +++ b/src/auth/passdb-template.h @@ -1,8 +1,6 @@ #ifndef PASSDB_TEMPLATE_H #define PASSDB_TEMPLATE_H -#define STATIC_PASS_SCHEME "PLAIN" - struct passdb_template *passdb_template_build(pool_t pool, const char *args); int passdb_template_export(struct passdb_template *tmpl, struct auth_request *auth_request, diff --git a/src/auth/passdb.h b/src/auth/passdb.h index 102df34c56..93d43f6e64 100644 --- a/src/auth/passdb.h +++ b/src/auth/passdb.h @@ -4,6 +4,8 @@ #define IS_VALID_PASSWD(pass) \ ((pass)[0] != '\0' && (pass)[0] != '*' && (pass)[0] != '!') +#define STATIC_PASS_SCHEME "PLAIN" + struct auth_request; struct auth_passdb_settings; struct passdb_module;