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/email_addr.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/email_addr.h')
-rw-r--r-- | src/libmime/email_addr.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libmime/email_addr.h b/src/libmime/email_addr.h index 7e150f80d..ed00722f9 100644 --- a/src/libmime/email_addr.h +++ b/src/libmime/email_addr.h @@ -21,7 +21,7 @@ #include "libutil/ref.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -66,7 +66,7 @@ struct rspamd_task; * @param len length of string * @return */ -struct rspamd_email_address *rspamd_email_address_from_smtp (const gchar *str, guint len); +struct rspamd_email_address *rspamd_email_address_from_smtp(const gchar *str, guint len); /** * Parses email address from the mime header, decodes names and return the array @@ -78,19 +78,19 @@ struct rspamd_email_address *rspamd_email_address_from_smtp (const gchar *str, g * @return */ GPtrArray * -rspamd_email_address_from_mime (rspamd_mempool_t *pool, const gchar *hdr, guint len, - GPtrArray *src, gint max_elements); +rspamd_email_address_from_mime(rspamd_mempool_t *pool, const gchar *hdr, guint len, + GPtrArray *src, gint max_elements); /** * Destroys list of email addresses * @param ptr */ -void rspamd_email_address_list_destroy (gpointer ptr); +void rspamd_email_address_list_destroy(gpointer ptr); -void rspamd_email_address_free (struct rspamd_email_address *addr); +void rspamd_email_address_free(struct rspamd_email_address *addr); -#ifdef __cplusplus +#ifdef __cplusplus } #endif |