From f463734e91f6923893a7436f6cc1fa2c3237ad5b Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sun, 31 Oct 2010 12:51:59 +0100 Subject: Remove reply object functions from connect functions --- hiredis.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hiredis.h') 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); -- cgit v1.2.3