From af8ba74cbfdbecf5ebdf99c506e264bed2d0efb2 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Tue, 21 Sep 2010 11:39:18 +0200 Subject: Rename functions to be more consistent, split feed from get reply --- hiredis.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index c354935..ea01dee 100644 --- a/hiredis.h +++ b/hiredis.h @@ -66,10 +66,10 @@ typedef struct redisReplyObjectFunctions { redisReply *redisConnect(int *fd, const char *ip, int port); void freeReplyObject(void *reply); redisReply *redisCommand(int fd, const char *format, ...); -void *redisCreateReplyReader(redisReplyFunctions *fn); -void *redisGetReplyObjectFromReplyReader(void *reader); -void redisFreeReplyReader(void *ptr); -int redisIsReplyReaderEmpty(void *ptr); -void *redisFeedReplyReader(void *reader, char *buf, int len); +void *redisReplyReaderCreate(redisReplyFunctions *fn); +void *redisReplyReaderGetObject(void *reader); +void redisReplyReaderFree(void *ptr); +void redisReplyReaderFeed(void *reader, char *buf, int len); +void *redisReplyReaderGetReply(void *reader); #endif -- cgit v1.2.3