aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/composites/composites.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-07-26 10:49:23 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-07-26 10:49:23 +0100
commit537a7180a0d5132c11636c4fd8b1450cd99d352c (patch)
treefb9f8c84955a411bdffbd6371ea32f2716fb3687 /src/libserver/composites/composites.h
parent5fd7a90fdaa33f52c59bdb0ca84451e5c1e22365 (diff)
downloadrspamd-537a7180a0d5132c11636c4fd8b1450cd99d352c.tar.gz
rspamd-537a7180a0d5132c11636c4fd8b1450cd99d352c.zip
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
Diffstat (limited to 'src/libserver/composites/composites.h')
-rw-r--r--src/libserver/composites/composites.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libserver/composites/composites.h b/src/libserver/composites/composites.h
index 335a5d424..5d5802909 100644
--- a/src/libserver/composites/composites.h
+++ b/src/libserver/composites/composites.h
@@ -19,7 +19,7 @@
#include "config.h"
#include "contrib/libucl/ucl.h"
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
@@ -37,7 +37,7 @@ void rspamd_composites_process_task(struct rspamd_task *task);
* @param cfg
* @return
*/
-void* rspamd_composites_manager_create(struct rspamd_config *cfg);
+void *rspamd_composites_manager_create(struct rspamd_config *cfg);
/**
* Returns number of elements in a composite manager
* @return
@@ -47,17 +47,17 @@ gsize rspamd_composites_manager_nelts(void *);
* Adds a composite from config
* @return
*/
-void* rspamd_composites_manager_add_from_ucl(void *, const char *, const ucl_object_t *);
-void* rspamd_composites_manager_add_from_ucl_silent(void *, const char *, const ucl_object_t *);
+void *rspamd_composites_manager_add_from_ucl(void *, const char *, const ucl_object_t *);
+void *rspamd_composites_manager_add_from_ucl_silent(void *, const char *, const ucl_object_t *);
/**
* Adds a composite from config
* @return
*/
-void* rspamd_composites_manager_add_from_string(void *, const char *, const char *);
-void* rspamd_composites_manager_add_from_string_silent(void *, const char *, const char *);
+void *rspamd_composites_manager_add_from_string(void *, const char *, const char *);
+void *rspamd_composites_manager_add_from_string_silent(void *, const char *, const char *);
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif