diff options
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -122,6 +122,10 @@ void redisReplyReaderFree(void *ptr); void redisReplyReaderFeed(void *reader, char *buf, int len); int redisReplyReaderGetReply(void *reader, void **reply); +/* Functions to format a command according to the protocol. */ +int redisvFormatCommand(char **target, const char *format, va_list ap); +int redisFormatCommand(char **target, const char *format, ...); + redisContext *redisConnect(const char *ip, int port, redisReplyObjectFunctions *fn); redisContext *redisConnectNonBlock(const char *ip, int port, redisReplyObjectFunctions *fn); void redisDisconnect(redisContext *c); |