summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-03 11:32:35 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-03 11:38:26 +0100
commitf25a5267cc796fb3b89082695cbc1104bca85a02 (patch)
treece042ab7cc962662b9bd598ddfc18e7580c42dcd /hiredis.h
parent0ccb2c8d890753fcd6524545646f34274d977b9c (diff)
Allow to connect using a unix socket from hiredis
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hiredis.h b/hiredis.h
index 5fe150d..58f025d 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -120,6 +120,8 @@ int redisFormatCommandArgv(char **target, int argc, const char **argv, const siz
redisContext *redisConnect(const char *ip, int port);
redisContext *redisConnectNonBlock(const char *ip, int port);
+redisContext *redisConnectUnix(const char *path);
+redisContext *redisConnectUnixNonBlock(const char *path);
int redisSetReplyObjectFunctions(redisContext *c, redisReplyObjectFunctions *fn);
void redisFree(redisContext *c);
int redisBufferRead(redisContext *c);