summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-09-25 15:33:27 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-09-25 15:33:27 +0200
commit9e417047edb4e95dcffbd8827f0f6a4f1fcdab51 (patch)
tree742dbc81808b51cf965ddad56a03f69dffc6fed8 /hiredis.h
parentcab99f6427f5255b543592c429c899aeef866352 (diff)
Add function to free an allocated context
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hiredis.h b/hiredis.h
index 15b4f61..96508ad 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -103,6 +103,7 @@ int redisReplyReaderGetReply(void *reader, void **reply);
redisContext *redisConnect(const char *ip, int port, redisReplyFunctions *fn);
redisContext *redisConnectNonBlock(const char *ip, int port, redisReplyFunctions *fn);
+void redisFree(redisContext *c);
int redisBufferRead(redisContext *c);
int redisBufferWrite(redisContext *c, int *done);
int redisGetReply(redisContext *c, void **reply);