summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2003-04-03 10:03:04 +0000
committererdgeist <>2003-04-03 10:03:04 +0000
commit693ce0ee3faeda6333f8eee98adbf942a8a2f44c (patch)
tree1c9828dd90a02d5dbcd62c74d0d5032341699b9f
parent06105a7dd103962ed001fa1f1e05c2090d5e0c2e (diff)
Tidying up msg window
-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