summaryrefslogtreecommitdiffstats
path: root/src/libserver/ssl_util.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/ssl_util.h
parent6b2b4167187fee09365271cca182866ecb029af3 (diff)
downloadrspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.tar.gz
rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.zip
[Rework] Further types conversion (no functional changes)
Diffstat (limited to 'src/libserver/ssl_util.h')
-rw-r--r--src/libserver/ssl_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/ssl_util.h b/src/libserver/ssl_util.h
index cde7d47a8..862ad460f 100644
--- a/src/libserver/ssl_util.h
+++ b/src/libserver/ssl_util.h
@@ -26,7 +26,7 @@ extern "C" {
struct rspamd_ssl_connection;
-typedef void (*rspamd_ssl_handler_t)(gint fd, short what, gpointer d);
+typedef void (*rspamd_ssl_handler_t)(int fd, short what, gpointer d);
typedef void (*rspamd_ssl_error_handler_t)(gpointer d, GError *err);
@@ -38,7 +38,7 @@ typedef void (*rspamd_ssl_error_handler_t)(gpointer d, GError *err);
struct rspamd_ssl_connection *rspamd_ssl_connection_new(gpointer ssl_ctx,
struct ev_loop *ev_base,
gboolean verify_peer,
- const gchar *log_tag);
+ const char *log_tag);
/**
* Connects SSL session using the specified (connected) FD
@@ -51,8 +51,8 @@ struct rspamd_ssl_connection *rspamd_ssl_connection_new(gpointer ssl_ctx,
* @param handler_data opaque data
* @return TRUE if a session has been connected
*/
-gboolean rspamd_ssl_connect_fd(struct rspamd_ssl_connection *conn, gint fd,
- const gchar *hostname, struct rspamd_io_ev *ev, ev_tstamp timeout,
+gboolean rspamd_ssl_connect_fd(struct rspamd_ssl_connection *conn, int fd,
+ const char *hostname, struct rspamd_io_ev *ev, ev_tstamp timeout,
rspamd_ssl_handler_t handler, rspamd_ssl_error_handler_t err_handler,
gpointer handler_data);