diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-23 17:57:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-23 17:57:44 +0100 |
commit | 0eabbc4492945ddd0a4550fd6aa6a0db7eeae785 (patch) | |
tree | f95e2a112d371eacf5ff0fa6e1031a4da85b58da /src/libserver/rspamd_control.h | |
parent | e28a3436d668c1f7d9f75b28741cc4db9651c497 (diff) | |
download | rspamd-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.h | 8 |
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 |