Tidied chat_log module

This commit is contained in:
James Booth
2012-09-05 17:41:35 +01:00
parent 3edd75af75
commit c343ff410c
2 changed files with 10 additions and 8 deletions

View File

@@ -23,14 +23,16 @@
#ifndef CHAT_LOG_H
#define CHAT_LOG_H
#include <glib.h>
typedef enum {
IN,
OUT
} chat_log_direction_t;
void chat_log_init(void);
void chat_log_chat(const char * const login, char *other,
const char * const msg, chat_log_direction_t direction);
void chat_log_chat(const gchar * const login, gchar *other,
const gchar * const msg, chat_log_direction_t direction);
void chat_log_close(void);
#endif