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/lua/lua_parsers.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/lua/lua_parsers.h')
-rw-r--r-- | src/lua/lua_parsers.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lua/lua_parsers.h b/src/lua/lua_parsers.h index 900072a10..2466938db 100644 --- a/src/lua/lua_parsers.h +++ b/src/lua/lua_parsers.h @@ -26,7 +26,7 @@ * @param {table} exceptions, a table of pairs containing <start_pos,length> of exceptions in the input * @return {table/strings} list of strings representing words in the text */ -LUA_PUBLIC_FUNCTION_DEF (parsers, tokenize_text); +LUA_PUBLIC_FUNCTION_DEF(parsers, tokenize_text); /*** * @function parsers.parse_html(input) @@ -34,7 +34,7 @@ LUA_PUBLIC_FUNCTION_DEF (parsers, tokenize_text); * @param {string|text} in input HTML * @return {rspamd_text} processed text with no HTML tags */ -LUA_PUBLIC_FUNCTION_DEF (parsers, parse_html); +LUA_PUBLIC_FUNCTION_DEF(parsers, parse_html); /*** * @function parsers.parse_mail_address(str, [pool]) @@ -58,7 +58,7 @@ LUA_PUBLIC_FUNCTION_DEF (parsers, parse_html); * @param {rspamd_mempool} pool memory pool to use * @return {table/tables} parsed list of mail addresses */ -LUA_PUBLIC_FUNCTION_DEF (parsers, parse_mail_address); +LUA_PUBLIC_FUNCTION_DEF(parsers, parse_mail_address); /*** * @function parsers.parse_content_type(ct_string, mempool) @@ -73,7 +73,7 @@ LUA_PUBLIC_FUNCTION_DEF (parsers, parse_mail_address); * @param {rspamd_mempool} mempool needed to store temporary data (e.g. task pool) * @return table or nil if cannot parse content type */ -LUA_PUBLIC_FUNCTION_DEF (parsers, parse_content_type); +LUA_PUBLIC_FUNCTION_DEF(parsers, parse_content_type); /*** * @function parsers.parse_smtp_date(str[, local_tz]) @@ -82,7 +82,7 @@ LUA_PUBLIC_FUNCTION_DEF (parsers, parse_content_type); * @param {boolean} local_tz convert to local tz if `true` * @return {number} time as unix timestamp (converted to float) */ -LUA_PUBLIC_FUNCTION_DEF (parsers, parse_smtp_date); +LUA_PUBLIC_FUNCTION_DEF(parsers, parse_smtp_date); -#endif //RSPAMD_LUA_PARSERS_H +#endif//RSPAMD_LUA_PARSERS_H |