1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-02 09:06:45 +02:00

keep chatlog names consistent with friend name changes

This commit is contained in:
Jfreegman
2014-09-27 02:28:11 -04:00
parent e574af7d68
commit 95dfea8d29
3 changed files with 99 additions and 19 deletions

View File

@ -48,4 +48,8 @@ void log_disable(struct chatlog *log);
/* Loads previous history from chat log */
void load_chat_history(ToxWindow *self, struct chatlog *log);
/* renames chatlog file replacing src with dest.
Returns 0 on success or if no log exists, -1 on failure. */
int rename_logfile(char *src, char *dest, const char *selfkey, const char *otherkey, int winnum);
#endif /* #define LOG_H */