clients: add type option for client list

This commit is contained in:
zhaozhao.zz
2018-06-28 17:43:05 +08:00
parent f5538642cc
commit b9cbd04b57
4 changed files with 20 additions and 6 deletions

View File

@ -1421,7 +1421,7 @@ void getClientsMaxBuffers(unsigned long *longest_output_list,
unsigned long *biggest_input_buffer);
char *getClientPeerId(client *client);
sds catClientInfoString(sds s, client *client);
sds getAllClientsInfoString(void);
sds getAllClientsInfoString(int type);
void rewriteClientCommandVector(client *c, int argc, ...);
void rewriteClientCommandArgument(client *c, int i, robj *newval);
void replaceClientCommandVector(client *c, int argc, robj **argv);