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 3852e2a831
commit f4e2abfcd4
2 changed files with 17 additions and 8 deletions

View File

@ -703,6 +703,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, ...);
#ifdef __GNUC__