aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
commit6b2b4167187fee09365271cca182866ecb029af3 (patch)
treea085717bc896b25ff4280eb86abecca0d5c36767 /src/worker_private.h
parent47bcfc8360dfa1754474580e779314b8d6a78da6 (diff)
downloadrspamd-6b2b4167187fee09365271cca182866ecb029af3.tar.gz
rspamd-6b2b4167187fee09365271cca182866ecb029af3.zip
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Diffstat (limited to 'src/worker_private.h')
-rw-r--r--src/worker_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/worker_private.h b/src/worker_private.h
index 697961d25..c295eaf85 100644
--- a/src/worker_private.h
+++ b/src/worker_private.h
@@ -27,12 +27,12 @@
extern "C" {
#endif
-static const guint64 rspamd_worker_magic = 0xb48abc69d601dc1dULL;
+static const uint64_t rspamd_worker_magic = 0xb48abc69d601dc1dULL;
struct rspamd_lang_detector;
struct rspamd_worker_ctx {
- guint64 magic;
+ uint64_t magic;
/* Events base */
struct ev_loop *event_loop;
/* DNS resolver */
@@ -46,7 +46,7 @@ struct rspamd_worker_ctx {
/* Allow encrypted requests only using network */
gboolean encrypted_only;
/* Limit of tasks */
- guint32 max_tasks;
+ uint32_t max_tasks;
/* Maximum time for task processing */
ev_tstamp task_timeout;
/* Encryption key */