summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-04 10:54:01 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-04 13:15:44 +0100
commit2e5e9a49fd1941296a6c94ca117e33bf2934bcfd (patch)
treed50d1d155a133a7917225cfc545a1106181b9028 /hiredis.h
parente5a8228946611fea64707a32ecc218ff5e89b497 (diff)
Return the reply type when the reply object function set is NULL
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index 29d5846..0a6a9a1 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -110,7 +110,8 @@ typedef struct redisContext {
} redisContext;
void freeReplyObject(void *reply);
-void *redisReplyReaderCreate(redisReplyObjectFunctions *fn);
+void *redisReplyReaderCreate();
+int redisReplyReaderSetReplyObjectFunctions(void *reader, redisReplyObjectFunctions *fn);
void *redisReplyReaderGetObject(void *reader);
char *redisReplyReaderGetError(void *reader);
void redisReplyReaderFree(void *ptr);