From 43ab0f8018610efd8ca8ec146b4857f0b3298fb1 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Fri, 7 Jan 2011 13:04:42 +0100 Subject: Return error on socket timeout for a blocking context --- net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'net.h') diff --git a/net.h b/net.h index 00ae32e..9d15fd2 100644 --- a/net.h +++ b/net.h @@ -39,6 +39,7 @@ #define AF_LOCAL AF_UNIX #endif +int redisContextSetTimeout(redisContext *c, struct timeval tv); int redisContextConnectTcp(redisContext *c, const char *addr, int port); int redisContextConnectUnix(redisContext *c, const char *path); -- cgit v1.2.3