diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-25 15:33:27 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-25 15:33:27 +0200 |
commit | 9e417047edb4e95dcffbd8827f0f6a4f1fcdab51 (patch) | |
tree | 742dbc81808b51cf965ddad56a03f69dffc6fed8 /hiredis.h | |
parent | cab99f6427f5255b543592c429c899aeef866352 (diff) |
Add function to free an allocated context
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |