summaryrefslogtreecommitdiff
path: root/vchat.h
diff options
context:
space:
mode:
Diffstat (limited to 'vchat.h')
-rwxr-xr-xvchat.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/vchat.h b/vchat.h
index 1a24973..16ee181 100755
--- a/vchat.h
+++ b/vchat.h
@@ -30,8 +30,8 @@ typedef struct servermessage servermessage;
30/* configuration types and variable numbers */ 30/* configuration types and variable numbers */
31typedef enum { CO_NIL, CO_STR, CO_INT } conftype; 31typedef enum { CO_NIL, CO_STR, CO_INT } conftype;
32typedef enum { CF_NIL, CF_NICK, CF_FROM, CF_SERVERHOST, CF_SERVERPORT, 32typedef enum { CF_NIL, CF_NICK, CF_FROM, CF_SERVERHOST, CF_SERVERPORT,
33CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGINSCRIPT, 33CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGINSCRIPT, CF_FINGERPRINT,
34CF_USESSL, CF_IGNSSL, CF_USECERT, CF_PRIVHEIGHT, CF_PRIVCOLLAPS, CF_HSCROLL, CF_CHANNEL, CF_USETIME, 34CF_USESSL, CF_VERIFYSSL, CF_USECERT, CF_PRIVHEIGHT, CF_PRIVCOLLAPS, CF_HSCROLL, CF_CHANNEL, CF_USETIME,
35CF_USETOPIC, CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT, 35CF_USETOPIC, CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT,
36CF_ENCODING, CF_BELLPRIV, CF_CASEFIRST, CF_AUTORECONN, CF_KEEPALIVE } confopt; 36CF_ENCODING, CF_BELLPRIV, CF_CASEFIRST, CF_AUTORECONN, CF_KEEPALIVE } confopt;
37 37
@@ -80,7 +80,7 @@ extern unsigned int want_tcp_keepalive;
80/* vchat-client.c */ 80/* vchat-client.c */
81#define ERRSTRSIZE 1024 81#define ERRSTRSIZE 1024
82extern char errstr[]; 82extern char errstr[];
83extern char *vchat_cl_version; 83extern const char *vchat_cl_version;
84void loadcfg (char *file,int complain,void (*lineparser) (char *)); 84void loadcfg (char *file,int complain,void (*lineparser) (char *));
85void loadformats (char *file); 85void loadformats (char *file);
86void cleanup(int signal); 86void cleanup(int signal);
@@ -93,7 +93,7 @@ int getintoption (confopt option);
93void setintoption (confopt option, int value); 93void setintoption (confopt option, int value);
94 94
95/* vchat-ui.c */ 95/* vchat-ui.c */
96extern char *vchat_ui_version; 96extern const char *vchat_ui_version;
97 97
98/* topic and console strings */ 98/* topic and console strings */
99#define TOPICSTRSIZE 1024 99#define TOPICSTRSIZE 1024
@@ -112,7 +112,7 @@ void userinput (void);
112/* display various messages */ 112/* display various messages */
113int writechan (char *str); 113int writechan (char *str);
114int writepriv (char *str, int maybeep ); 114int writepriv (char *str, int maybeep );
115void writeout (char *str); 115void writeout (const char *str);
116void showout (void); 116void showout (void);
117void flushout (void); 117void flushout (void);
118#define msgout(STR) {flushout();writeout(STR);showout();} 118#define msgout(STR) {flushout();writeout(STR);showout();}
@@ -140,7 +140,7 @@ void clearfilters ( char colour );
140void handlequery ( char *line ); 140void handlequery ( char *line );
141 141
142/* vchat-protocol.c */ 142/* vchat-protocol.c */
143extern char *vchat_io_version; 143extern const char *vchat_io_version;
144 144
145/* connect/disconnect */ 145/* connect/disconnect */
146int vcconnect (char *server, char *port); 146int vcconnect (char *server, char *port);
@@ -156,7 +156,7 @@ void ownleave (int channel);
156void ownnickchange (char *newnick); 156void ownnickchange (char *newnick);
157 157
158/* vchat-commands.c */ 158/* vchat-commands.c */
159extern char *vchat_cm_version; 159extern const char *vchat_cm_version;
160void command_version ( char *tail); 160void command_version ( char *tail);
161 161
162/* user input */ 162/* user input */
@@ -171,3 +171,8 @@ typedef struct {
171 char *short_help; 171 char *short_help;
172 char *help; 172 char *help;
173} commandentry; 173} commandentry;
174
175/* vchat-ssl.c */
176extern const char *vchat_ssl_version;
177extern const char *vchat_ssl_version_external;
178void vchat_ssl_get_version_external();