aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-23 17:57:44 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-23 17:57:44 +0100
commit0eabbc4492945ddd0a4550fd6aa6a0db7eeae785 (patch)
treef95e2a112d371eacf5ff0fa6e1031a4da85b58da /src/libserver/rspamd_control.h
parente28a3436d668c1f7d9f75b28741cc4db9651c497 (diff)
downloadrspamd-0eabbc4492945ddd0a4550fd6aa6a0db7eeae785.tar.gz
rspamd-0eabbc4492945ddd0a4550fd6aa6a0db7eeae785.zip
[Minor] Use seqpacket for control pipes
Diffstat (limited to 'src/libserver/rspamd_control.h')
-rw-r--r--src/libserver/rspamd_control.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libserver/rspamd_control.h b/src/libserver/rspamd_control.h
index 1b5756022..f6336854c 100644
--- a/src/libserver/rspamd_control.h
+++ b/src/libserver/rspamd_control.h
@@ -20,9 +20,7 @@
#include "mem_pool.h"
#include "contrib/libev/ev.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
struct rspamd_main;
struct rspamd_worker;
@@ -290,8 +288,6 @@ const gchar *rspamd_control_command_to_string (enum rspamd_control_type cmd);
*/
void rspamd_pending_control_free (gpointer p);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif