diff options
Diffstat (limited to 'hiredis.c')
| -rw-r--r-- | hiredis.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| @@ -1257,6 +1257,15 @@ int __redisAppendCommand(redisContext *c, char *cmd, size_t len) {      return REDIS_OK;  } +int redisAppendFormattedCommand(redisContext *c, char *format, size_t len) { + +    if (__redisAppendCommand(c, format, len) != REDIS_OK) { +        return REDIS_ERR; +    } + +    return REDIS_OK; +} +  int redisvAppendCommand(redisContext *c, const char *format, va_list ap) {      char *cmd;      int len; | 
