getClientPeerId() refactored into two functions.

This commit is contained in:
antirez
2013-07-09 15:46:34 +02:00
parent da18366609
commit 3472d045d8
2 changed files with 13 additions and 4 deletions

View File

@ -909,6 +909,7 @@ void copyClientOutputBuffer(redisClient *dst, redisClient *src);
void *dupClientReplyValue(void *o);
void getClientsMaxBuffers(unsigned long *longest_output_list,
unsigned long *biggest_input_buffer);
void formatPeerId(char *peerid, size_t peerid_len, char *ip, int port);
int getClientPeerId(redisClient *client, char *peerid, size_t peerid_len);
sds getClientInfoString(redisClient *client);
sds getAllClientsInfoString(void);