aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/redis_pool.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-17 13:25:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-17 13:25:25 +0000
commit580011677c460165a0f3907879155a9a9d2b3891 (patch)
treecea9c5f4cdbd48072e4816d1f87a9500667f21aa /src/libserver/redis_pool.h
parent361fb6df11468548eb57856dad2e74b082dd7085 (diff)
downloadrspamd-580011677c460165a0f3907879155a9a9d2b3891.tar.gz
rspamd-580011677c460165a0f3907879155a9a9d2b3891.zip
[Minor] Add routine to convert redis reply type to string
Issue: #1228
Diffstat (limited to 'src/libserver/redis_pool.h')
-rw-r--r--src/libserver/redis_pool.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/redis_pool.h b/src/libserver/redis_pool.h
index 5e5dc0b5d..a43b6d7e2 100644
--- a/src/libserver/redis_pool.h
+++ b/src/libserver/redis_pool.h
@@ -67,4 +67,11 @@ void rspamd_redis_pool_release_connection (struct rspamd_redis_pool *pool,
*/
void rspamd_redis_pool_destroy (struct rspamd_redis_pool *pool);
+/**
+ * Missing in hiredis
+ * @param type
+ * @return
+ */
+const gchar* rspamd_redis_type_to_string (int type);
+
#endif /* SRC_LIBSERVER_REDIS_POOL_H_ */