Added a function to get slave name for logs.

This commit is contained in:
antirez
2014-10-27 11:58:20 +01:00
parent 16319c69b1
commit 72ea77af0b
3 changed files with 29 additions and 15 deletions

View File

@ -1078,6 +1078,7 @@ int replicationScriptCacheExists(sds sha1);
void replicationSetMaster(char *ip, int port);
void replicationUnsetMaster(void);
void replicationSendNewlineToMaster(void);
char *replicationGetSlaveName(redisClient *c);
/* Generic persistence functions */
void startLoading(FILE *fp);