summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'net.h')
-rw-r--r--net.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/net.h b/net.h
index d9bc357..be66e19 100644
--- a/net.h
+++ b/net.h
@@ -1,4 +1,4 @@
-/* Extracted from anet.c to work properly with Hiredis error reporting.
+/* Extracted from anet.c to work properly with Hiredict error reporting.
*
* Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
* Copyright (c) 2010-2014, Pieter Noordhuis <pcnoordhuis at gmail dot com>
@@ -21,21 +21,21 @@
#include "hiredict.h"
-void redisNetClose(redisContext *c);
-ssize_t redisNetRead(redisContext *c, char *buf, size_t bufcap);
-ssize_t redisNetWrite(redisContext *c);
+void redictNetClose(redictContext *c);
+ssize_t redictNetRead(redictContext *c, char *buf, size_t bufcap);
+ssize_t redictNetWrite(redictContext *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);
-int redisContextConnectBindTcp(redisContext *c, const char *addr, int port,
+int redictCheckSocketError(redictContext *c);
+int redictContextSetTimeout(redictContext *c, const struct timeval tv);
+int redictContextConnectTcp(redictContext *c, const char *addr, int port, const struct timeval *timeout);
+int redictContextConnectBindTcp(redictContext *c, const char *addr, int port,
const struct timeval *timeout,
const char *source_addr);
-int redisContextConnectUnix(redisContext *c, const char *path, const struct timeval *timeout);
-int redisKeepAlive(redisContext *c, int interval);
-int redisCheckConnectDone(redisContext *c, int *completed);
+int redictContextConnectUnix(redictContext *c, const char *path, const struct timeval *timeout);
+int redictKeepAlive(redictContext *c, int interval);
+int redictCheckConnectDone(redictContext *c, int *completed);
-int redisSetTcpNoDelay(redisContext *c);
-int redisContextSetTcpUserTimeout(redisContext *c, unsigned int timeout);
+int redictSetTcpNoDelay(redictContext *c);
+int redictContextSetTcpUserTimeout(redictContext *c, unsigned int timeout);
#endif