]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: Create stats-common.h.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 14 Nov 2019 23:05:29 +0000 (00:05 +0100)
committermartti.rannanjarvi <martti.rannanjarvi@open-xchange.com>
Sat, 18 Apr 2020 14:55:11 +0000 (14:55 +0000)
src/stats/Makefile.am
src/stats/client-reader.c
src/stats/client-writer.c
src/stats/main.c
src/stats/stats-common.h [new file with mode: 0644]
src/stats/stats-metrics.c
src/stats/stats-settings.c

index edc9c55ea649eceaa624194570a9fed3c7277980..ae0c1ea678e9b2cf1d9ca9653c874ef7e1379d87 100644 (file)
@@ -43,6 +43,7 @@ libstats_local_la_SOURCES = \
        stats-settings.c
 
 noinst_HEADERS = \
+       stats-common.h \
        client-reader.h \
        client-writer.h \
        event-exporter.h \
index 30ef71d2cc1131972481658cc95f511be27b5819..03145fb540292b9b7426567600f6edb973e9d022 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
 
-#include "lib.h"
+#include "stats-common.h"
 #include "array.h"
 #include "str.h"
 #include "stats-dist.h"
index e1979225d3a18f62bff755c93dfc9c93819ebfc1..d9638b74bb2ed619ca3b9f80babcaa1225da1626 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
 
-#include "lib.h"
+#include "stats-common.h"
 #include "array.h"
 #include "llist.h"
 #include "hash.h"
index c635a3582fc56052a7d3d895d40b675b0c9a38ba..13d6f61cf8dfe18679f0ccc2256011ac7d1043cb 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
 
-#include "lib.h"
+#include "stats-common.h"
 #include "restrict-access.h"
 #include "master-service.h"
 #include "master-service-settings.h"
diff --git a/src/stats/stats-common.h b/src/stats/stats-common.h
new file mode 100644 (file)
index 0000000..4a0ff55
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef STATS_COMMON_H
+#define STATS_COMMON_H
+
+#include "lib.h"
+
+#endif
index 09abc91470952f1cfa07e2e560a31e13977b6e16..93968d0e6d184d6cab5803e3ee4458eebd2b932a 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
 
-#include "lib.h"
+#include "stats-common.h"
 #include "array.h"
 #include "str.h"
 #include "stats-dist.h"
index 3f0643033a8eee5361e3cc7de11ad2e53e308c0b..674a11f35a19533d9e51e959312430ff9420d269 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */
 
-#include "lib.h"
+#include "stats-common.h"
 #include "buffer.h"
 #include "settings-parser.h"
 #include "service-settings.h"