summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2014-04-09 22:27:18 -0700
committerPieter Noordhuis <pcnoordhuis@gmail.com>2014-04-09 22:27:18 -0700
commitfa8bcca1dcf8fd87f3b3ce2853d1fe32526a0afa (patch)
tree9b4dc4b065f9f72226c8129322dfbc1be6db9ebc /net.h
parent065e90557c2f2bce6205c5006144bec75638836f (diff)
parent4369ee5d086967883ee91597540a599e543eacd6 (diff)
Merge pull request #234 from mattsta/next-version
Next version of hiredis
Diffstat (limited to 'net.h')
-rw-r--r--net.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net.h b/net.h
index 94b76f5..370a1ff 100644
--- a/net.h
+++ b/net.h
@@ -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);