diff options
author | Allen.Dou <allen.dou@hotmail.com> | 2013-04-30 00:11:57 +0800 |
---|---|---|
committer | Allen.Dou <allen.dou@hotmail.com> | 2013-04-30 00:11:57 +0800 |
commit | 9dff5105fc01f52437d862bc95d40415f03179f0 (patch) | |
tree | dde4f7f32e4ed911654696dc30fe518617a1608d /hiredis.h | |
parent | 8d5bc445e53ad4114aaac1dd4ff438b638aecede (diff) |
Make KeepAlive optional
Make Connection KeepAlive being optional instead of default.
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -179,6 +179,7 @@ redisContext *redisConnectUnix(const char *path); redisContext *redisConnectUnixWithTimeout(const char *path, struct timeval tv); redisContext *redisConnectUnixNonBlock(const char *path); int redisSetTimeout(redisContext *c, struct timeval tv); +int redisEnableKeepAlive(redisContext *c); void redisFree(redisContext *c); int redisBufferRead(redisContext *c); int redisBufferWrite(redisContext *c, int *done); |