From e6d997a96f9af10f08c9c9e52fb545420650b05b Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 27 Jun 2011 23:42:18 +0200 Subject: Extract function to check a socket for errors --- net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'net.h') diff --git a/net.h b/net.h index f9d3755..eb8a0a1 100644 --- a/net.h +++ b/net.h @@ -39,6 +39,7 @@ #define AF_LOCAL AF_UNIX #endif +int redisCheckSocketError(redisContext *c, int fd); int redisContextSetTimeout(redisContext *c, struct timeval tv); int redisContextConnectTcp(redisContext *c, const char *addr, int port, struct timeval *timeout); int redisContextConnectUnix(redisContext *c, const char *path, struct timeval *timeout); -- cgit v1.2.3