Basic chat log per user

This commit is contained in:
James Booth
2012-07-22 22:34:09 +01:00
parent 310a1ff42d
commit cb27c4ab37
3 changed files with 44 additions and 15 deletions

View File

@@ -25,8 +25,14 @@
#include <stdio.h>
typedef enum {
IN,
OUT
} chat_log_direction_t;
void chat_log_init(void);
void chat_log_chat(const char * const user, const char * const msg);
void chat_log_chat(const char * const login, char *other,
const char * const msg, chat_log_direction_t direction);
void chat_log_close(void);
#endif