minor refactoring to networking.c adding a separated function to get a string representing the current state of all the connected clients.

This commit is contained in:
antirez
2011-11-24 15:04:42 +01:00
parent 2c74a9f948
commit 45e7a1ce00
2 changed files with 17 additions and 8 deletions

View File

@ -769,6 +769,7 @@ void *dupClientReplyValue(void *o);
void getClientsMaxBuffers(unsigned long *longest_output_list,
unsigned long *biggest_input_buffer);
sds getClientInfoString(redisClient *client);
sds getAllClientsInfoString(void);
void rewriteClientCommandVector(redisClient *c, int argc, ...);
void rewriteClientCommandArgument(redisClient *c, int i, robj *newval);