diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2013-05-01 09:23:17 -0700 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2013-05-01 09:23:17 -0700 |
commit | 91f47a1c198f78206ef02e791e0c5b5dfbeebe3a (patch) | |
tree | 0efcd2d651a075e0849cb45fdbcae4b613c297f5 /net.h | |
parent | 63ce20dd15f83c6ff2bdab1bf3dcd1866e826c71 (diff) | |
parent | bb3c4c17c45c89d980e2f4f59f59e55d13c77334 (diff) |
Merge branch 'keepalive'
Also see pull request #161.
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,5 +43,6 @@ int redisCheckSocketError(redisContext *c, int fd); int redisContextSetTimeout(redisContext *c, struct timeval tv); int redisContextConnectTcp(redisContext *c, const char *addr, int port, struct timeval *timeout); int redisContextConnectUnix(redisContext *c, const char *path, struct timeval *timeout); +int redisKeepAlive(redisContext *c, int interval); #endif |