diff options
Diffstat (limited to 'vchat.h')
-rwxr-xr-x | vchat.h | 43 |
1 files changed, 1 insertions, 42 deletions
@@ -14,12 +14,6 @@ | |||
14 | * | 14 | * |
15 | */ | 15 | */ |
16 | 16 | ||
17 | /* user structure */ | ||
18 | struct user; | ||
19 | typedef struct user user; | ||
20 | /* userlist from vchat-user.c */ | ||
21 | extern user *nicks; | ||
22 | |||
23 | /* servermessage types */ | 17 | /* servermessage types */ |
24 | typedef enum { SM_IGNORE, SM_INFO, SM_USERINFO, SM_CHANNEL, SM_ERROR } smtype; | 18 | typedef enum { SM_IGNORE, SM_INFO, SM_USERINFO, SM_CHANNEL, SM_ERROR } smtype; |
25 | 19 | ||
@@ -39,7 +33,7 @@ typedef enum { CF_NIL, CF_NICK, CF_FROM, CF_SERVERHOST, CF_SERVERPORT, | |||
39 | CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGINSCRIPT, | 33 | CF_CIPHERSUITE, CF_CONFIGFILE, CF_CERTFILE, CF_KEYFILE, CF_FORMFILE, CF_LOGINSCRIPT, |
40 | CF_USESSL, CF_IGNSSL, CF_USECERT, CF_PRIVHEIGHT, CF_PRIVCOLLAPS, CF_HSCROLL, CF_CHANNEL, CF_USETIME, | 34 | CF_USESSL, CF_IGNSSL, CF_USECERT, CF_PRIVHEIGHT, CF_PRIVCOLLAPS, CF_HSCROLL, CF_CHANNEL, CF_USETIME, |
41 | CF_USETOPIC, CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT, | 35 | CF_USETOPIC, CF_SCROLLBPRIV, CF_SCROLLBACK, CF_SCROLLBPRIVT, CF_SCROLLBACKT, |
42 | CF_ENCODING, CF_BELLPRIV, CF_AUTORECONN } confopt; | 36 | CF_ENCODING, CF_BELLPRIV, CF_CASEFIRST, CF_AUTORECONN } confopt; |
43 | 37 | ||
44 | /* format strings */ | 38 | /* format strings */ |
45 | typedef enum { FS_PLAIN, FS_CHAN, FS_PRIV, FS_SERV, FS_GLOB, FS_DBG, FS_ERR, | 39 | typedef enum { FS_PLAIN, FS_CHAN, FS_PRIV, FS_SERV, FS_GLOB, FS_DBG, FS_ERR, |
@@ -80,9 +74,6 @@ typedef struct formatstring formatstring; | |||
80 | #define TMPSTRSIZE 1024 | 74 | #define TMPSTRSIZE 1024 |
81 | static char tmpstr[TMPSTRSIZE]; | 75 | static char tmpstr[TMPSTRSIZE]; |
82 | 76 | ||
83 | extern char *nick; | ||
84 | extern int chan; | ||
85 | |||
86 | extern unsigned int loggedin; | 77 | extern unsigned int loggedin; |
87 | 78 | ||
88 | /* vchat-client.c */ | 79 | /* vchat-client.c */ |
@@ -100,38 +91,6 @@ void setstroption (confopt option, char *string); | |||
100 | int getintoption (confopt option); | 91 | int getintoption (confopt option); |
101 | void setintoption (confopt option, int value); | 92 | void setintoption (confopt option, int value); |
102 | 93 | ||
103 | /* vchat-user.c */ | ||
104 | extern char *vchat_us_version; | ||
105 | |||
106 | /* add / delete user */ | ||
107 | void ul_add (char *nick, int ignored); | ||
108 | void ul_del (char *nick, int ignored); | ||
109 | |||
110 | /* clear userlist */ | ||
111 | void ul_clear (); | ||
112 | |||
113 | /* channel join / leave */ | ||
114 | void ul_join (char *nick, int channel); | ||
115 | void ul_leave (char *nick, int channel); | ||
116 | |||
117 | /* nickchange */ | ||
118 | void ul_nickchange (char *oldnick, char *newnick); | ||
119 | |||
120 | /* place user in channel */ | ||
121 | void ul_moveuser (char *nick, int channel); | ||
122 | |||
123 | /* message nick completion */ | ||
124 | void ul_msgto (char *nick); | ||
125 | void ul_msgfrom (char *nick); | ||
126 | |||
127 | /* nick-completion for vchat-ui.c */ | ||
128 | char *ul_nickcomp (const char *text, int state); | ||
129 | char *ul_cnickcomp (const char *text, int state); | ||
130 | char *ul_mnickcomp (const char *text, int state); | ||
131 | |||
132 | /* try to find user by substring */ | ||
133 | char *ul_matchuser (char *substr); | ||
134 | |||
135 | /* vchat-ui.c */ | 94 | /* vchat-ui.c */ |
136 | extern char *vchat_ui_version; | 95 | extern char *vchat_ui_version; |
137 | 96 | ||