]> git.saurik.com Git - redis.git/blobdiff - deps/hiredis/hiredis.h
Update linenoise
[redis.git] / deps / hiredis / hiredis.h
index 29d58469d6bf9b9217fe34cc7b8437a9b3b1fd09..cb25b363f96f22a0a794d0221501d806ecd91bea 100644 (file)
@@ -110,11 +110,12 @@ typedef struct redisContext {
 } redisContext;
 
 void freeReplyObject(void *reply);
-void *redisReplyReaderCreate(redisReplyObjectFunctions *fn);
+void *redisReplyReaderCreate();
+int redisReplyReaderSetReplyObjectFunctions(void *reader, redisReplyObjectFunctions *fn);
 void *redisReplyReaderGetObject(void *reader);
 char *redisReplyReaderGetError(void *reader);
 void redisReplyReaderFree(void *ptr);
-void redisReplyReaderFeed(void *reader, char *buf, int len);
+void redisReplyReaderFeed(void *reader, char *buf, size_t len);
 int redisReplyReaderGetReply(void *reader, void **reply);
 
 /* Functions to format a command according to the protocol. */