]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-auth-client: auth-master - Move definition of struct auth_master_user_list_ctx
authorStephan Bosch <stephan.bosch@dovecot.fi>
Wed, 22 Feb 2017 21:29:54 +0000 (22:29 +0100)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 27 Aug 2025 11:34:57 +0000 (13:34 +0200)
src/lib-auth-client/auth-master.c

index c578cfafc195e09d5bff1601dc8f52adae833bec..2736fdc388141856128953e2c0db679da8ccb22a 100644 (file)
@@ -48,13 +48,6 @@ struct auth_master_connection {
        bool aborted:1;
 };
 
-struct auth_master_user_list_ctx {
-       struct auth_master_connection *conn;
-       string_t *username;
-       bool finished;
-       bool failed;
-};
-
 static void auth_master_connected(struct connection *_conn, bool success);
 static int
 auth_master_input_args(struct connection *_conn, const char *const *args);
@@ -899,6 +892,13 @@ int auth_master_cache_flush(struct auth_master_connection *conn,
        return ctx.failed ? -1 : 0;
 }
 
+struct auth_master_user_list_ctx {
+       struct auth_master_connection *conn;
+       string_t *username;
+       bool finished;
+       bool failed;
+};
+
 static bool
 auth_user_list_reply_callback(const char *cmd, const char *const *args,
                              void *context)