From 0ccb2c8d890753fcd6524545646f34274d977b9c Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Wed, 3 Nov 2010 11:12:26 +0100 Subject: Add functiont to net.c to connect to a unix socket --- net.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net.h') diff --git a/net.h b/net.h index f16ad63..0e56000 100644 --- a/net.h +++ b/net.h @@ -31,6 +31,7 @@ #ifndef __NET_H #define __NET_H -int redisContextConnect(redisContext *c, const char *addr, int port); +int redisContextConnectTcp(redisContext *c, const char *addr, int port); +int redisContextConnectUnix(redisContext *c, const char *path); #endif -- cgit v1.2.3