From 580011677c460165a0f3907879155a9a9d2b3891 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 17 Feb 2017 13:25:25 +0000 Subject: [Minor] Add routine to convert redis reply type to string Issue: #1228 --- src/libserver/redis_pool.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libserver/redis_pool.h') 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_ */ -- cgit v1.2.3