diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-07-26 10:49:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-07-26 10:49:23 +0100 |
commit | 537a7180a0d5132c11636c4fd8b1450cd99d352c (patch) | |
tree | fb9f8c84955a411bdffbd6371ea32f2716fb3687 /src/libmime/mime_expressions.h | |
parent | 5fd7a90fdaa33f52c59bdb0ca84451e5c1e22365 (diff) | |
download | rspamd-537a7180a0d5132c11636c4fd8b1450cd99d352c.tar.gz rspamd-537a7180a0d5132c11636c4fd8b1450cd99d352c.zip |
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
Diffstat (limited to 'src/libmime/mime_expressions.h')
-rw-r--r-- | src/libmime/mime_expressions.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libmime/mime_expressions.h b/src/libmime/mime_expressions.h index 935027482..a2ea3fea4 100644 --- a/src/libmime/mime_expressions.h +++ b/src/libmime/mime_expressions.h @@ -10,7 +10,7 @@ #include "expression.h" #include "contrib/libucl/ucl.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -33,13 +33,13 @@ enum rspamd_expression_type { EXPRESSION_ARGUMENT_REGEXP }; struct expression_argument { - enum rspamd_expression_type type; /**< type of argument (text or other function) */ - void *data; /**< pointer to its data */ + enum rspamd_expression_type type; /**< type of argument (text or other function) */ + void *data; /**< pointer to its data */ }; -typedef gboolean (*rspamd_internal_func_t) (struct rspamd_task *, - GArray *args, void *user_data); +typedef gboolean (*rspamd_internal_func_t)(struct rspamd_task *, + GArray *args, void *user_data); /** @@ -47,18 +47,18 @@ typedef gboolean (*rspamd_internal_func_t) (struct rspamd_task *, * @param name name of function * @param func pointer to function */ -void register_expression_function (const gchar *name, - rspamd_internal_func_t func, - void *user_data); +void register_expression_function(const gchar *name, + rspamd_internal_func_t func, + void *user_data); /** * Set global limit of regexp data size to be processed * @param limit new limit in bytes * @return old limit value */ -guint rspamd_mime_expression_set_re_limit (guint limit); +guint rspamd_mime_expression_set_re_limit(guint limit); -#ifdef __cplusplus +#ifdef __cplusplus } #endif |