diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2014-04-09 22:27:18 -0700 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2014-04-09 22:27:18 -0700 |
commit | fa8bcca1dcf8fd87f3b3ce2853d1fe32526a0afa (patch) | |
tree | 9b4dc4b065f9f72226c8129322dfbc1be6db9ebc /net.h | |
parent | 065e90557c2f2bce6205c5006144bec75638836f (diff) | |
parent | 4369ee5d086967883ee91597540a599e543eacd6 (diff) |
Merge pull request #234 from mattsta/next-version
Next version of hiredis
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,9 +39,11 @@ #define AF_LOCAL AF_UNIX #endif -int redisCheckSocketError(redisContext *c, int fd); +int redisCheckSocketError(redisContext *c); int redisContextSetTimeout(redisContext *c, const struct timeval tv); int redisContextConnectTcp(redisContext *c, const char *addr, int port, const struct timeval *timeout); +int redisContextConnectBindTcp(redisContext *c, const char *addr, int port, + const struct timeval *timeout, char *source_addr); int redisContextConnectUnix(redisContext *c, const char *path, const struct timeval *timeout); int redisKeepAlive(redisContext *c, int interval); |