diff options
-rwxr-xr-x | vchat.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -44,9 +44,10 @@ typedef struct servermessage servermessage; | |||
44 | /* configuration types and variable numbers */ | 44 | /* configuration types and variable numbers */ |
45 | typedef enum { CO_NIL, CO_STR, CO_INT } conftype; | 45 | typedef enum { CO_NIL, CO_STR, CO_INT } conftype; |
46 | typedef enum { CF_NIL, CF_NICK, CF_FROM, CF_SERVERHOST, CF_SERVERPORT, | 46 | typedef enum { CF_NIL, CF_NICK, CF_FROM, CF_SERVERHOST, CF_SERVERPORT, |
47 | CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, | 47 | CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGFILE, |
48 | CF_USESSL, CF_USECERT, CF_PRIVHEIGHT, CF_HSCROLL, CF_CHANNEL, CF_USETIME, | 48 | CF_USESSL, CF_USECERT, CF_PRIVHEIGHT, CF_HSCROLL, CF_CHANNEL, CF_USETIME, |
49 | CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT } confopt; | 49 | CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT, CF_KEEPLOG } confopt; |
50 | |||
50 | /* format strings */ | 51 | /* format strings */ |
51 | typedef enum { FS_PLAIN, FS_CHAN, FS_PRIV, FS_SERV, FS_GLOB, FS_DBG, FS_ERR, | 52 | typedef enum { FS_PLAIN, FS_CHAN, FS_PRIV, FS_SERV, FS_GLOB, FS_DBG, FS_ERR, |
52 | FS_IDLE, FS_TIME, FS_TOPICW, FS_NOTOPICW, FS_CONSOLE, FS_CONNECTED, FS_TOPIC, | 53 | FS_IDLE, FS_TIME, FS_TOPICW, FS_NOTOPICW, FS_CONSOLE, FS_CONNECTED, FS_TOPIC, |
@@ -155,8 +156,11 @@ int writepriv (unsigned char *str); | |||
155 | void writeout (unsigned char *str); | 156 | void writeout (unsigned char *str); |
156 | void showout (void); | 157 | void showout (void); |
157 | void flushout (void); | 158 | void flushout (void); |
159 | #define msgout(STR) {flushout();writeout(STR);showout();} | ||
158 | void hideout (void); | 160 | void hideout (void); |
159 | int writecf (formtstr id, unsigned char *str); | 161 | int writecf (formtstr id, unsigned char *str); |
162 | void writelog (FILE *file); | ||
163 | void writelog_i(FILE *file); | ||
160 | 164 | ||
161 | extern int outputcountdown; | 165 | extern int outputcountdown; |
162 | 166 | ||