aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/async_session.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 18:56:33 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 18:56:33 +0000
commit14c13854d3cae9d93c3d148be30fb72f1eaffe55 (patch)
tree7b1a3e41b75490fac4d45722c90a1847543c6796 /src/libserver/async_session.h
parent6b2b4167187fee09365271cca182866ecb029af3 (diff)
downloadrspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.tar.gz
rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.zip
[Rework] Further types conversion (no functional changes)
Diffstat (limited to 'src/libserver/async_session.h')
-rw-r--r--src/libserver/async_session.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/async_session.h b/src/libserver/async_session.h
index 4573545f1..e4b9feb08 100644
--- a/src/libserver/async_session.h
+++ b/src/libserver/async_session.h
@@ -54,8 +54,8 @@ struct rspamd_async_event *
rspamd_session_add_event_full(struct rspamd_async_session *session,
event_finalizer_t fin,
gpointer user_data,
- const gchar *subsystem,
- const gchar *event_source);
+ const char *subsystem,
+ const char *event_source);
#define rspamd_session_add_event(session, fin, user_data, subsystem) \
rspamd_session_add_event_full(session, fin, user_data, subsystem, G_STRLOC)
@@ -69,7 +69,7 @@ rspamd_session_add_event_full(struct rspamd_async_session *session,
void rspamd_session_remove_event_full(struct rspamd_async_session *session,
event_finalizer_t fin,
gpointer ud,
- const gchar *event_source);
+ const char *event_source);
#define rspamd_session_remove_event(session, fin, user_data) \
rspamd_session_remove_event_full(session, fin, user_data, G_STRLOC)
@@ -104,7 +104,7 @@ gboolean rspamd_session_pending(struct rspamd_async_session *session);
* @param session
* @return
*/
-guint rspamd_session_events_pending(struct rspamd_async_session *session);
+unsigned int rspamd_session_events_pending(struct rspamd_async_session *session);
/**