]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap-urlauth: imap-urlauth-worker - Move protocol version definitions to imap-urlauth...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 14 Feb 2023 01:41:38 +0000 (02:41 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 24 Mar 2023 07:14:54 +0000 (07:14 +0000)
src/imap-urlauth/imap-urlauth-worker-client.c
src/imap-urlauth/imap-urlauth-worker-common.h
src/imap-urlauth/imap-urlauth-worker.c

index d90bef2aba28aba5c921c1c03d047841e9bfda98..33b937000f45fa284a5639c66915538d3c17f026 100644 (file)
@@ -11,6 +11,8 @@
 #include "eacces-error.h"
 
 #include "imap-urlauth-common.h"
+#include "imap-urlauth-settings.h"
+#include "imap-urlauth-client.h"
 #include "imap-urlauth-worker-client.h"
 
 /* max. length of input lines (URLs) */
index 82b640b4c01f99996589a966d148f885690c4227..e00b86cd9b809b7dcd7f4f51db660e65d8c91b75 100644 (file)
@@ -3,4 +3,7 @@
 
 #define IMAP_URLAUTH_WORKER_SOCKET "imap-urlauth-worker"
 
+#define IMAP_URLAUTH_WORKER_PROTOCOL_MAJOR_VERSION 2
+#define IMAP_URLAUTH_WORKER_PROTOCOL_MINOR_VERSION 0
+
 #endif
index f53ea1e5e9418927b703fa2e776c4e23b0924b20..2ac05bca131c5609779da35a5b2f6ca529b42d94 100644 (file)
@@ -26,6 +26,7 @@
 #include "imap-msgpart-url.h"
 #include "imap-urlauth.h"
 #include "imap-urlauth-fetch.h"
+#include "imap-urlauth-worker-common.h"
 #include "imap-urlauth-worker-settings.h"
 
 #include <unistd.h>
@@ -40,9 +41,6 @@
 #define IS_STANDALONE() \
         (getenv(MASTER_IS_PARENT_ENV) == NULL)
 
-#define IMAP_URLAUTH_WORKER_PROTOCOL_MAJOR_VERSION 2
-#define IMAP_URLAUTH_WORKER_PROTOCOL_MINOR_VERSION 0
-
 struct client {
        struct client *prev, *next;
        struct event *event;