diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-11-03 11:32:35 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-11-03 11:38:26 +0100 |
commit | f25a5267cc796fb3b89082695cbc1104bca85a02 (patch) | |
tree | ce042ab7cc962662b9bd598ddfc18e7580c42dcd /hiredis.h | |
parent | 0ccb2c8d890753fcd6524545646f34274d977b9c (diff) |
Allow to connect using a unix socket from hiredis
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |