summaryrefslogtreecommitdiff
path: root/async.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-12-28 19:19:25 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-12-28 19:19:25 +0100
commite3776bfaa65bf40a7c43917c6985f0d83c1afd76 (patch)
tree989ddb4b32e447514c1f48870a037094977c646f /async.h
parent3d76f3fe02c8fa4eac1bb2fb266897f69f159ee8 (diff)
Add function to explicitly free an async context
Diffstat (limited to 'async.h')
-rw-r--r--async.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/async.h b/async.h
index 3ebea4e..9819e0d 100644
--- a/async.h
+++ b/async.h
@@ -95,6 +95,7 @@ int redisAsyncSetReplyObjectFunctions(redisAsyncContext *ac, redisReplyObjectFun
int redisAsyncSetConnectCallback(redisAsyncContext *ac, redisConnectCallback *fn);
int redisAsyncSetDisconnectCallback(redisAsyncContext *ac, redisDisconnectCallback *fn);
void redisAsyncDisconnect(redisAsyncContext *ac);
+void redisAsyncFree(redisAsyncContext *ac);
/* Handle read/write events */
void redisAsyncHandleRead(redisAsyncContext *ac);