summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2019-04-02 01:17:11 -0400
committerGitHub <noreply@github.com>2019-04-02 01:17:11 -0400
commitca153fa4a8ae84021bdce7ec47e5339eef1d9212 (patch)
tree3d963d9e7fddb9db41da1469b989471b2c54ac07 /net.h
parent1c43a3823f7cd11e8d25d1979ba5eb01720f0b77 (diff)
parente38cd75562ddb3a20e5dff8969c96568a4fb1ea1 (diff)
Merge pull request #652 from mbitsnbites/mingw-support
Add MinGW support
Diffstat (limited to 'net.h')
-rw-r--r--net.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net.h b/net.h
index a11594e..a4393c0 100644
--- a/net.h
+++ b/net.h
@@ -37,6 +37,10 @@
#include "hiredis.h"
+void redisNetClose(redisContext *c);
+int redisNetRead(redisContext *c, char *buf, size_t bufcap);
+int redisNetWrite(redisContext *c);
+
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);