All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
chatlog.h
1 /*
2  * chatlog.h - APme: Aion Automatic Abyss Point Tracker
3  *
4  * Copyright (C) 2012 Mitja Horvat <pinkfluid@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or (at
9  * your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19  */
20 
21 #ifndef CHATLOG_H_INCLUDED
22 #define CHATLOG_H_INCLUDED
23 
24 
25 #define CHATLOG_PREFIX_LEN 20 /* Length of the prefix for each
26  chatlog line, the timestamp */
27 #define CHATLOG_FILENAME "Chat.log"
28 #define CHATLOG_CHAT_SZ 1024
29 #define CHATLOG_NAME_SZ 64
30 #define CHATLOG_ITEM_SZ 64
31 
32 extern bool chatlog_init(void);
33 extern bool chatlog_poll(void);
34 extern bool chatlog_readfile(char *file);
35 
36 #endif