summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 12:51:59 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 12:53:57 +0100
commitf463734e91f6923893a7436f6cc1fa2c3237ad5b (patch)
tree9b4a273f1d28ef9f2a8da2b75b9961f431c83f72 /hiredis.h
parent47e1f7714972ca4ba90792a4601991fe1ea27865 (diff)
Remove reply object functions from connect functions
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hiredis.h b/hiredis.h
index 7a352b3..4142573 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -114,8 +114,9 @@ int redisvFormatCommand(char **target, const char *format, va_list ap);
int redisFormatCommand(char **target, const char *format, ...);
int redisFormatCommandArgv(char **target, int argc, const char **argv, const size_t *argvlen);
-redisContext *redisConnect(const char *ip, int port, redisReplyObjectFunctions *fn);
-redisContext *redisConnectNonBlock(const char *ip, int port, redisReplyObjectFunctions *fn);
+redisContext *redisConnect(const char *ip, int port);
+redisContext *redisConnectNonBlock(const char *ip, int port);
+int redisSetReplyObjectFunctions(redisContext *c, redisReplyObjectFunctions *fn);
void redisDisconnect(redisContext *c);
void redisFree(redisContext *c);
int redisBufferRead(redisContext *c);