diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 18:56:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 18:56:33 +0000 |
commit | 14c13854d3cae9d93c3d148be30fb72f1eaffe55 (patch) | |
tree | 7b1a3e41b75490fac4d45722c90a1847543c6796 /src/libserver/http/http_private.h | |
parent | 6b2b4167187fee09365271cca182866ecb029af3 (diff) | |
download | rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.tar.gz rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.zip |
[Rework] Further types conversion (no functional changes)
Diffstat (limited to 'src/libserver/http/http_private.h')
-rw-r--r-- | src/libserver/http/http_private.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libserver/http/http_private.h b/src/libserver/http/http_private.h index bad0231a8..de683a91b 100644 --- a/src/libserver/http/http_private.h +++ b/src/libserver/http/http_private.h @@ -54,20 +54,20 @@ struct rspamd_http_message { struct _rspamd_body_buf_s { /* Data start */ - const gchar *begin; + const char *begin; /* Data len */ gsize len; /* Allocated len */ gsize allocated_len; /* Data buffer (used to write data inside) */ - gchar *str; + char *str; /* Internal storage */ union _rspamd_storage_u { rspamd_fstring_t *normal; struct _rspamd_storage_shared_s { struct rspamd_storage_shmem *name; - gint shm_fd; + int shm_fd; } shared; } c; } body_buf; @@ -77,15 +77,15 @@ struct rspamd_http_message { time_t last_modified; unsigned port; int type; - gint code; + int code; enum http_method method; - gint flags; + int flags; ref_entry_t ref; }; struct rspamd_keepalive_hash_key { rspamd_inet_addr_t *addr; - gchar *host; + char *host; gboolean is_ssl; unsigned port; GQueue conns; |