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