summaryrefslogtreecommitdiff
path: root/deps/hiredis/async.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-02-19 20:26:36 +0100
committerantirez <antirez@gmail.com>2012-02-19 20:26:50 +0100
commitb66e5add82bf6785421111f505f41ed8bf09a6f7 (patch)
treeed34f7924ed6d46fbd0f46bf14e0410575fa9355 /deps/hiredis/async.h
parentcb598cdd59f48ffa1cb2f3d82d95b8b9eaee7195 (diff)
downloadredis-b66e5add82bf6785421111f505f41ed8bf09a6f7.tar.gz
The hiredis lib shipped with Redis was updated to latest version.
Diffstat (limited to 'deps/hiredis/async.h')
-rw-r--r--deps/hiredis/async.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/hiredis/async.h b/deps/hiredis/async.h
index ba2b6f549..268274e8e 100644
--- a/deps/hiredis/async.h
+++ b/deps/hiredis/async.h
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
- * Copyright (c) 2010, Pieter Noordhuis <pcnoordhuis at gmail dot com>
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
@@ -55,7 +55,7 @@ typedef struct redisCallbackList {
/* Connection callback prototypes */
typedef void (redisDisconnectCallback)(const struct redisAsyncContext*, int status);
-typedef void (redisConnectCallback)(const struct redisAsyncContext*);
+typedef void (redisConnectCallback)(const struct redisAsyncContext*, int status);
/* Context for an async connection to Redis */
typedef struct redisAsyncContext {
@@ -103,7 +103,6 @@ typedef struct redisAsyncContext {
/* Functions that proxy to hiredis */
redisAsyncContext *redisAsyncConnect(const char *ip, int port);
redisAsyncContext *redisAsyncConnectUnix(const char *path);
-int redisAsyncSetReplyObjectFunctions(redisAsyncContext *ac, redisReplyObjectFunctions *fn);
int redisAsyncSetConnectCallback(redisAsyncContext *ac, redisConnectCallback *fn);
int redisAsyncSetDisconnectCallback(redisAsyncContext *ac, redisDisconnectCallback *fn);
void redisAsyncDisconnect(redisAsyncContext *ac);