Mercurial > pidgin.yaz
annotate src/gaim.h @ 1145:cd96ca1aed02
[gaim-migrate @ 1155]
actually to be quite honest toc has been blocking me so i have no way of knowing that the permit/deny stuff that i'm committing actually works. but i'm sure i'll get a bug report in about 3 hours or so if it's not.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 27 Nov 2000 13:18:11 +0000 |
parents | b1454d019277 |
children | f4d4a14752ee |
rev | line source |
---|---|
1 | 1 /* |
2 * gaim | |
3 * | |
4 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 * | |
20 */ | |
21 | |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
22 #ifndef _GAIM_GAIM_H_ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
23 #define _GAIM_GAIM_H_ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
24 |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
348
diff
changeset
|
25 #ifdef HAVE_CONFIG_H |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
348
diff
changeset
|
26 #include "../config.h" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
348
diff
changeset
|
27 #endif |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
28 |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
29 #include <gtk/gtk.h> |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
30 #include <time.h> |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
31 #include <stdio.h> |
1 | 32 #ifdef USE_APPLET |
33 #include <applet-widget.h> | |
34 #endif /* USE_APPLET */ | |
599
ddce1742f173
[gaim-migrate @ 609]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
592
diff
changeset
|
35 #ifdef USE_GNOME |
ddce1742f173
[gaim-migrate @ 609]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
592
diff
changeset
|
36 #include <gnome.h> |
ddce1742f173
[gaim-migrate @ 609]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
592
diff
changeset
|
37 #endif |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
38 #include "multi.h" |
1 | 39 |
40 | |
41 /* | |
42 1. gethostbyname(); | |
43 2. connect(); | |
44 3. toc_signon(); | |
45 4. toc_wait_signon(); | |
46 5. toc_wait_config(); | |
47 6. actually done.. | |
48 */ | |
49 | |
50 #define BROWSER_NETSCAPE 0 | |
51 #define BROWSER_KFM 1 | |
52 #define BROWSER_MANUAL 2 | |
1087
56c7ceb986a8
[gaim-migrate @ 1097]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1075
diff
changeset
|
53 /*#define BROWSER_INTERNAL 3*/ |
733 | 54 #define BROWSER_GNOME 4 |
1 | 55 |
678
c72f58814e9f
[gaim-migrate @ 688]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
667
diff
changeset
|
56 #define PERMIT_ALL 1 |
c72f58814e9f
[gaim-migrate @ 688]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
667
diff
changeset
|
57 #define PERMIT_NONE 2 |
c72f58814e9f
[gaim-migrate @ 688]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
667
diff
changeset
|
58 #define PERMIT_SOME 3 |
c72f58814e9f
[gaim-migrate @ 688]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
667
diff
changeset
|
59 #define DENY_SOME 4 |
c72f58814e9f
[gaim-migrate @ 688]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
667
diff
changeset
|
60 |
1 | 61 #define UC_AOL 1 |
62 #define UC_ADMIN 2 | |
63 #define UC_UNCONFIRMED 4 | |
64 #define UC_NORMAL 8 | |
65 #define UC_UNAVAILABLE 16 | |
66 | |
1026 | 67 #define IDLE_NONE 0 |
68 #define IDLE_GAIM 1 | |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
69 #define IDLE_SCREENSAVER 2 |
1 | 70 |
71 #define WFLAG_SEND 1 | |
72 #define WFLAG_RECV 2 | |
73 #define WFLAG_AUTO 4 | |
74 #define WFLAG_WHISPER 8 | |
75 #define WFLAG_FILERECV 16 | |
76 #define WFLAG_SYSTEM 32 | |
77 | |
78 #define AUTO_RESPONSE "<AUTO-REPLY> : " | |
79 | |
90
f5b305c0d974
[gaim-migrate @ 100]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
82
diff
changeset
|
80 #define PLUGIN_DIR ".gaim/plugins/" |
1 | 81 |
82 #define REG_EMAIL_ADDR "gaiminfo@blueridge.net" | |
83 #define REG_SRVR "blueridge.net" | |
84 #define REG_PORT 25 | |
85 | |
555 | 86 #define FACE_ANGEL 0 |
87 #define FACE_BIGSMILE 1 | |
88 #define FACE_BURP 2 | |
89 #define FACE_CROSSEDLIPS 3 | |
90 #define FACE_CRY 4 | |
91 #define FACE_EMBARRASSED 5 | |
92 #define FACE_KISS 6 | |
93 #define FACE_MONEYMOUTH 7 | |
94 #define FACE_SAD 8 | |
95 #define FACE_SCREAM 9 | |
96 #define FACE_SMILE 10 | |
97 #define FACE_SMILE8 11 | |
98 #define FACE_THINK 12 | |
99 #define FACE_TONGUE 13 | |
100 #define FACE_WINK 14 | |
101 #define FACE_YELL 15 | |
102 #define FACE_TOTAL 16 | |
103 | |
599
ddce1742f173
[gaim-migrate @ 609]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
592
diff
changeset
|
104 #ifndef USE_GNOME |
345
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
105 #ifdef ENABLE_NLS |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
106 # include <libintl.h> |
590
91f877d86ca6
[gaim-migrate @ 600]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
577
diff
changeset
|
107 # define _(x) gettext(x) |
345
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
108 # ifdef gettext_noop |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
109 # define N_(String) gettext_noop (String) |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
110 # else |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
111 # define N_(String) (String) |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
112 # endif |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
113 #else |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
114 # define N_(String) (String) |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
115 # define _(x) (x) |
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
116 #endif |
348
29f95b2b3e38
[gaim-migrate @ 358]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
345
diff
changeset
|
117 #endif |
345
f8ddc51fc5fb
[gaim-migrate @ 355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
344
diff
changeset
|
118 |
1 | 119 extern struct debug_window *dw; |
120 | |
121 struct aim_user { | |
122 char username[64]; | |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
123 char password[32]; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
124 char user_info[2048]; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
125 int options; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
126 int protocol; |
1051
713b0e14e0a9
[gaim-migrate @ 1061]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1047
diff
changeset
|
127 /* prpls can use this to save information about the user, |
713b0e14e0a9
[gaim-migrate @ 1061]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1047
diff
changeset
|
128 * like which server to connect to, etc */ |
713b0e14e0a9
[gaim-migrate @ 1061]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1047
diff
changeset
|
129 char proto_opt[6][256]; |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
130 |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
131 struct gaim_connection *gc; |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
132 |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
133 /* stuff for modify window */ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
134 GtkWidget *mod; |
1075
2fe18b2d6105
[gaim-migrate @ 1085]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1072
diff
changeset
|
135 GtkWidget *main; |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
136 GtkWidget *name; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
137 GtkWidget *pass; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
138 int tmp_options; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
139 int tmp_protocol; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
140 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
141 /* stuff for password prompt */ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
142 GtkWidget *passprmt; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
143 GtkWidget *passentry; |
1 | 144 }; |
145 | |
146 struct save_pos { | |
147 int x; | |
148 int y; | |
149 int width; | |
150 int height; | |
151 int xoff; | |
152 int yoff; | |
153 }; | |
154 | |
155 | |
156 struct option_set { | |
157 int *options; | |
158 int option; | |
159 }; | |
160 | |
161 struct g_url { | |
162 char address[255]; | |
163 int port; | |
164 char page[255]; | |
165 }; | |
166 | |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
167 enum gaim_event { |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
168 event_signon = 0, |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
169 event_signoff, |
133
e277d5f0c1dd
[gaim-migrate @ 143]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
115
diff
changeset
|
170 event_away, |
136
4e91b92f91a7
[gaim-migrate @ 146]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
133
diff
changeset
|
171 event_back, |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
172 event_im_recv, |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
173 event_im_send, |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
174 event_buddy_signon, |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
175 event_buddy_signoff, |
133
e277d5f0c1dd
[gaim-migrate @ 143]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
115
diff
changeset
|
176 event_buddy_away, |
136
4e91b92f91a7
[gaim-migrate @ 146]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
133
diff
changeset
|
177 event_buddy_back, |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
988
diff
changeset
|
178 event_buddy_idle, |
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
988
diff
changeset
|
179 event_buddy_unidle, |
1058
4927ce25d8cc
[gaim-migrate @ 1068]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1056
diff
changeset
|
180 event_blist_update, |
391
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
181 event_chat_invited, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
182 event_chat_join, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
183 event_chat_leave, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
184 event_chat_buddy_join, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
185 event_chat_buddy_leave, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
186 event_chat_recv, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
187 event_chat_send, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
188 event_warned, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
189 event_error, |
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
375
diff
changeset
|
190 event_quit, |
808
9d61f3d01046
[gaim-migrate @ 818]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
806
diff
changeset
|
191 event_new_conversation, |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
192 /* any others? it's easy to add... */ |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
193 }; |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
194 |
885
db5f5c33e83f
[gaim-migrate @ 895]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
873
diff
changeset
|
195 #ifdef GAIM_PLUGINS |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
196 #include <gmodule.h> |
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
197 |
885
db5f5c33e83f
[gaim-migrate @ 895]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
873
diff
changeset
|
198 struct gaim_plugin { |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
199 GModule *handle; |
885
db5f5c33e83f
[gaim-migrate @ 895]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
873
diff
changeset
|
200 char *name; |
db5f5c33e83f
[gaim-migrate @ 895]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
873
diff
changeset
|
201 char *description; |
db5f5c33e83f
[gaim-migrate @ 895]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
873
diff
changeset
|
202 }; |
db5f5c33e83f
[gaim-migrate @ 895]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
873
diff
changeset
|
203 |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
204 struct gaim_callback { |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
205 GModule *handle; |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
206 enum gaim_event event; |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
207 void *function; |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
208 void *data; |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
209 }; |
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
210 |
142
fbabd28795d2
[gaim-migrate @ 152]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
139
diff
changeset
|
211 extern GList *plugins; |
94
9f6ce50ffb78
[gaim-migrate @ 104]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
90
diff
changeset
|
212 extern GList *callbacks; |
90
f5b305c0d974
[gaim-migrate @ 100]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
82
diff
changeset
|
213 #endif |
1 | 214 |
215 struct buddy { | |
216 char name[80]; | |
710
efd72a117875
[gaim-migrate @ 720]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
705
diff
changeset
|
217 char show[80]; |
1 | 218 int present; |
219 int evil; | |
220 time_t signon; | |
221 time_t idle; | |
222 int uc; | |
1056
bde34730789c
[gaim-migrate @ 1066]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1051
diff
changeset
|
223 gushort caps; /* woohoo! */ |
1 | 224 }; |
225 | |
1036
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
226 struct buddy_show { |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
227 GtkWidget *item; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
228 GtkWidget *pix; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
229 GtkWidget *label; |
1058
4927ce25d8cc
[gaim-migrate @ 1068]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1056
diff
changeset
|
230 GtkWidget *idle; |
1036
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
231 char *name; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
232 char *show; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
233 GSList *connlist; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
234 guint log_timer; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
235 }; |
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
236 |
1 | 237 struct log_conversation { |
238 char name[80]; | |
239 char filename[512]; | |
240 struct log_conversation *next; | |
241 }; | |
242 | |
243 struct buddy_pounce { | |
244 char name[80]; | |
245 char message[2048]; | |
246 int popup; | |
247 int sendim; | |
1137 | 248 |
1138 | 249 char pouncer[80]; |
250 | |
1137 | 251 int signon; |
252 int unaway; | |
253 int unidle; | |
1 | 254 }; |
255 | |
256 struct away_message { | |
257 char name[80]; | |
258 char message[2048]; | |
259 }; | |
260 | |
261 struct group { | |
262 char name[80]; | |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
263 GSList *members; |
1 | 264 }; |
265 | |
266 struct chat_room { | |
267 char name[128]; | |
268 int exchange; | |
269 }; | |
270 | |
271 struct debug_window { | |
272 GtkWidget *window; | |
273 GtkWidget *entry; | |
274 }; | |
275 | |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
276 /* struct buddy_chat went away and got merged with this. */ |
1 | 277 struct conversation { |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
278 struct gaim_connection *gc; |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
279 |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
280 /* stuff used for both IM and chat */ |
311
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
281 GtkWidget *window; |
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
282 char name[80]; |
1 | 283 GtkWidget *text; |
311
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
284 GtkWidget *entry; |
1 | 285 GtkWidget *italic; |
311
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
286 GtkWidget *bold; |
1 | 287 GtkWidget *underline; |
854 | 288 GtkWidget *fgcolorbtn; |
289 GtkWidget *bgcolorbtn; | |
1 | 290 GtkWidget *link; |
608 | 291 GtkWidget *wood; |
344
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
292 GtkWidget *log_button; |
1 | 293 GtkWidget *strike; |
234
985635758c33
[gaim-migrate @ 244]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
230
diff
changeset
|
294 GtkWidget *font; |
555 | 295 GtkWidget *smiley; |
858
3de6e98e8898
[gaim-migrate @ 868]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
854
diff
changeset
|
296 GtkWidget *fg_color_dialog; |
3de6e98e8898
[gaim-migrate @ 868]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
854
diff
changeset
|
297 GtkWidget *bg_color_dialog; |
311
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
298 GtkWidget *font_dialog; |
555 | 299 GtkWidget *smiley_dialog; |
608 | 300 GtkWidget *link_dialog; |
301 GtkWidget *log_dialog; | |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
302 int makesound; |
687
02ef523db170
[gaim-migrate @ 697]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
684
diff
changeset
|
303 char fontface[128]; |
688
6b1345121dd3
[gaim-migrate @ 698]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
687
diff
changeset
|
304 int hasfont; |
697 | 305 GdkColor bgcol; |
699
f8acdd22065a
[gaim-migrate @ 709]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
697
diff
changeset
|
306 int hasbg; |
697 | 307 GdkColor fgcol; |
699
f8acdd22065a
[gaim-migrate @ 709]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
697
diff
changeset
|
308 int hasfg; |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
309 |
909
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
310 GtkWidget *send; |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
311 |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
312 /* stuff used just for IM */ |
909
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
313 GtkWidget *info; |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
314 GtkWidget *warn; |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
315 GtkWidget *block; |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
316 GtkWidget *add; |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
317 GtkWidget *sep1; |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
318 GtkWidget *sep2; |
234
985635758c33
[gaim-migrate @ 244]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
230
diff
changeset
|
319 time_t sent_away; |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
320 GtkWidget *menu; |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
321 |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
322 /* stuff used just for chat */ |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
323 GList *in_room; |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
324 GList *ignored; |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
325 int id; |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
326 GtkWidget *list; |
834
bac7089491c1
[gaim-migrate @ 844]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
830
diff
changeset
|
327 GtkWidget *whisper; |
bac7089491c1
[gaim-migrate @ 844]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
830
diff
changeset
|
328 GtkWidget *invite; |
814
a636ac51d15b
[gaim-migrate @ 824]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
808
diff
changeset
|
329 GtkWidget *close; |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
330 |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
331 /* something to distinguish */ |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
332 gboolean is_chat; |
1 | 333 }; |
334 | |
335 struct file_transfer { | |
336 GtkWidget *window; | |
337 char *cookie; | |
338 char *ip; | |
339 char *message; | |
340 int port; | |
341 int size; | |
342 int accepted; | |
343 char *filename; | |
344 char *lfilename; | |
345 char *user; | |
346 FILE *f; | |
347 int fd; | |
198
73e9a0bfff62
[gaim-migrate @ 208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
197
diff
changeset
|
348 char UID[2048]; |
978
563c409e26a1
[gaim-migrate @ 988]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
976
diff
changeset
|
349 struct gaim_connection *gc; |
1 | 350 }; |
351 | |
352 #define CONVERSATION_TITLE "Gaim - Conversation with %s" | |
353 #define LOG_CONVERSATION_TITLE "Gaim - Conversation with %s (logged)" | |
354 | |
196
3042e11c1902
[gaim-migrate @ 206]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
180
diff
changeset
|
355 #define VOICE_UID "09461341-4C7F-11D1-8222-444553540000" |
197
24f0fef56a73
[gaim-migrate @ 207]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
196
diff
changeset
|
356 #define FILE_SEND_UID "09461343-4C7F-11D1-8222-444553540000" |
196
3042e11c1902
[gaim-migrate @ 206]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
180
diff
changeset
|
357 #define IMAGE_UID "09461345-4C7F-11D1-8222-444553540000" |
3042e11c1902
[gaim-migrate @ 206]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
180
diff
changeset
|
358 #define B_ICON_UID "09461346-4C7F-11D1-8222-444553540000" |
197
24f0fef56a73
[gaim-migrate @ 207]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
196
diff
changeset
|
359 #define FILE_GET_UID "09461348-4C7F-11D1-8222-444553540000" |
1 | 360 |
361 #define AOL_SRCHSTR "/community/aimcheck.adp/url=" | |
362 | |
363 /* These should all be runtime selectable */ | |
364 | |
365 #define MSG_LEN 2048 | |
366 /* The above should normally be the same as BUF_LEN, | |
367 * but just so we're explictly asking for the max message | |
368 * length. */ | |
369 #define BUF_LEN MSG_LEN | |
370 #define BUF_LONG BUF_LEN * 2 | |
371 | |
372 | |
373 #define BUDDY_ARRIVE 0 | |
374 #define BUDDY_LEAVE 1 | |
1006
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
375 #define RECEIVE 2 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
376 #define FIRST_RECEIVE 3 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
377 #define SEND 4 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
378 #define CHAT_JOIN 5 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
379 #define CHAT_LEAVE 6 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
380 #define CHAT_YOU_SAY 7 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
381 #define CHAT_SAY 8 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
382 #define NUM_SOUNDS 9 |
1 | 383 |
384 | |
385 #ifdef USE_APPLET | |
386 extern GtkWidget *applet; | |
387 #endif /* USE_APPLET */ | |
388 | |
230
83dd297aa363
[gaim-migrate @ 240]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
210
diff
changeset
|
389 /* Globals in dialog.c */ |
666
71ea550c22ac
[gaim-migrate @ 676]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
660
diff
changeset
|
390 extern char fontface[64]; |
697 | 391 extern GdkColor bgcolor; |
392 extern GdkColor fgcolor; | |
555 | 393 extern int smiley_array[FACE_TOTAL]; |
230
83dd297aa363
[gaim-migrate @ 240]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
210
diff
changeset
|
394 |
1 | 395 /* Globals in aim.c */ |
396 extern GList *log_conversations; | |
397 extern GList *buddy_pounces; | |
940 | 398 extern GSList *away_messages; |
1 | 399 extern GList *conversations; |
400 extern GList *chat_rooms; | |
401 extern GtkWidget *mainwindow; | |
402 | |
403 /* Globals in away.c */ | |
404 extern struct away_message *awaymessage; | |
1109
c73736fa0b7c
[gaim-migrate @ 1119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1106
diff
changeset
|
405 extern int default_away; |
c73736fa0b7c
[gaim-migrate @ 1119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1106
diff
changeset
|
406 extern int auto_away; |
1 | 407 extern GtkWidget *awaymenu; |
408 | |
409 /* Globals in buddy.c */ | |
410 extern GtkWidget *buddies; | |
411 extern GtkWidget *bpmenu; | |
412 extern GtkWidget *blist; | |
413 | |
414 extern int general_options; | |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
415 #define OPT_GEN_ENTER_SENDS 0x00000001 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
416 /* #define OPT_GEN_AUTO_LOGIN 0x00000002 now OPT_USR_AUTO */ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
417 #define OPT_GEN_LOG_ALL 0x00000004 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
418 #define OPT_GEN_STRIP_HTML 0x00000008 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
419 #define OPT_GEN_APP_BUDDY_SHOW 0x00000010 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
420 #define OPT_GEN_POPUP_WINDOWS 0x00000020 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
421 #define OPT_GEN_SEND_LINKS 0x00000040 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
422 #define OPT_GEN_DEBUG 0x00000100 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
423 /* #define OPT_GEN_REMEMBER_PASS 0x00000200 now OPT_USR_REM_PASS */ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
424 #define OPT_GEN_REGISTERED 0x00000400 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
425 #define OPT_GEN_BROWSER_POPUP 0x00000800 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
426 #define OPT_GEN_SAVED_WINDOWS 0x00001000 |
1 | 427 #define OPT_GEN_DISCARD_WHEN_AWAY 0x00002000 |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
428 #define OPT_GEN_NEAR_APPLET 0x00004000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
429 #define OPT_GEN_CHECK_SPELLING 0x00008000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
430 #define OPT_GEN_POPUP_CHAT 0x00010000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
431 #define OPT_GEN_BACK_ON_IM 0x00020000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
432 /* #define OPT_GEN_USE_OSCAR 0x00040000 now PROTO_OSCAR */ |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
433 #define OPT_GEN_CTL_CHARS 0x00080000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
434 #define OPT_GEN_TIK_HACK 0x00100000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
435 #define OPT_GEN_CTL_SMILEYS 0x00200000 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
436 /* #define OPT_GEN_KEEPALIVE 0x00400000 now OPT_USR_KEEPALV */ |
1109
c73736fa0b7c
[gaim-migrate @ 1119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1106
diff
changeset
|
437 #define OPT_GEN_AUTO_AWAY 0x00800000 |
180 | 438 |
1 | 439 extern int display_options; |
864 | 440 #define OPT_DISP_SHOW_TIME 0x00000001 |
441 #define OPT_DISP_SHOW_GRPNUM 0x00000002 | |
442 #define OPT_DISP_SHOW_PIXMAPS 0x00000004 | |
443 #define OPT_DISP_SHOW_IDLETIME 0x00000008 | |
444 #define OPT_DISP_SHOW_BUTTON_XPM 0x00000010 | |
445 #define OPT_DISP_IGNORE_COLOUR 0x00000020 | |
446 #define OPT_DISP_SHOW_LOGON 0x00000040 | |
447 #define OPT_DISP_DEVIL_PIXMAPS 0x00000080 | |
448 #define OPT_DISP_SHOW_SMILEY 0x00000100 | |
612
12bb64b42ad1
[gaim-migrate @ 622]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
608
diff
changeset
|
449 #define OPT_DISP_SHOW_BUDDYTICKER 0x00000200 |
864 | 450 #define OPT_DISP_COOL_LOOK 0x00000400 |
451 #define OPT_DISP_CHAT_LOGON 0x00000800 | |
452 #define OPT_DISP_IGN_WHITE 0x00001000 | |
453 #define OPT_DISP_NO_BUTTONS 0x00002000 | |
915
378c862a2381
[gaim-migrate @ 925]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
909
diff
changeset
|
454 #define OPT_DISP_CONV_BUTTON_TEXT 0x00004000 |
378c862a2381
[gaim-migrate @ 925]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
909
diff
changeset
|
455 #define OPT_DISP_CHAT_BUTTON_TEXT 0x00008000 |
864 | 456 #define OPT_DISP_CONV_BIG_ENTRY 0x00010000 |
457 #define OPT_DISP_CHAT_BIG_ENTRY 0x00020000 | |
902
bd5f4997f063
[gaim-migrate @ 912]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
891
diff
changeset
|
458 #define OPT_DISP_NO_MT_GRP 0x00040000 |
915
378c862a2381
[gaim-migrate @ 925]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
909
diff
changeset
|
459 #define OPT_DISP_CONV_BUTTON_XPM 0x00080000 |
378c862a2381
[gaim-migrate @ 925]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
909
diff
changeset
|
460 #define OPT_DISP_CHAT_BUTTON_XPM 0x00100000 |
754 | 461 |
1 | 462 extern int sound_options; |
463 #define OPT_SOUND_LOGIN 0x00000001 | |
464 #define OPT_SOUND_LOGOUT 0x00000002 | |
465 #define OPT_SOUND_RECV 0x00000004 | |
466 #define OPT_SOUND_SEND 0x00000008 | |
467 #define OPT_SOUND_FIRST_RCV 0x00000010 | |
468 #define OPT_SOUND_WHEN_AWAY 0x00000020 | |
109
45bcfa3b584c
[gaim-migrate @ 119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
107
diff
changeset
|
469 #define OPT_SOUND_SILENT_SIGNON 0x00000040 |
338
9d258a0aa560
[gaim-migrate @ 348]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
337
diff
changeset
|
470 #define OPT_SOUND_THROUGH_GNOME 0x00000080 |
371
9d22acf6db73
[gaim-migrate @ 381]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
349
diff
changeset
|
471 #define OPT_SOUND_CHAT_JOIN 0x00000100 |
9d22acf6db73
[gaim-migrate @ 381]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
349
diff
changeset
|
472 #define OPT_SOUND_CHAT_SAY 0x00000200 |
713 | 473 #define OPT_SOUND_BEEP 0x00000400 |
1006
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
474 #define OPT_SOUND_CHAT_PART 0x00000800 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
475 #define OPT_SOUND_CHAT_YOU_SAY 0x00001000 |
0a4d0ed65e17
[gaim-migrate @ 1016]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1002
diff
changeset
|
476 extern char *sound_file[NUM_SOUNDS]; |
1 | 477 |
478 extern int font_options; | |
479 #define OPT_FONT_BOLD 0x00000001 | |
480 #define OPT_FONT_ITALIC 0x00000002 | |
481 #define OPT_FONT_UNDERLINE 0x00000008 | |
482 #define OPT_FONT_STRIKE 0x00000010 | |
230
83dd297aa363
[gaim-migrate @ 240]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
210
diff
changeset
|
483 #define OPT_FONT_FACE 0x00000020 |
666
71ea550c22ac
[gaim-migrate @ 676]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
660
diff
changeset
|
484 #define OPT_FONT_FGCOL 0x00000040 |
71ea550c22ac
[gaim-migrate @ 676]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
660
diff
changeset
|
485 #define OPT_FONT_BGCOL 0x00000080 |
1 | 486 |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
487 #define OPT_USR_AUTO 0x00000001 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
488 #define OPT_USR_KEEPALV 0x00000002 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
489 #define OPT_USR_REM_PASS 0x00000004 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
490 |
527
47eb48fa2e85
[gaim-migrate @ 537]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
523
diff
changeset
|
491 #define DEFAULT_INFO "Visit the GAIM website at <A HREF=\"http://www.marko.net/gaim\">http://www.marko.net/gaim</A>." |
1 | 492 |
493 extern int report_idle; | |
494 extern int web_browser; | |
495 extern GList *aim_users; | |
496 extern char web_command[2048]; | |
497 extern char debug_buff[BUF_LONG]; | |
498 extern struct save_pos blist_pos; | |
180 | 499 extern char latest_ver[25]; |
1 | 500 |
501 /* Functions in about.c */ | |
502 extern void show_about(GtkWidget *, void *); | |
503 | |
504 | |
505 /* Functions in buddy_chat.c */ | |
506 extern void join_chat(); | |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
507 extern void chat_write(struct conversation *, char *, int, char *); |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
508 extern void add_chat_buddy(struct conversation *, char *); |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
509 extern void remove_chat_buddy(struct conversation *, char *); |
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
510 extern void show_new_buddy_chat(struct conversation *); |
1 | 511 extern void setup_buddy_chats(); |
696
97b75ed155b0
[gaim-migrate @ 706]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
694
diff
changeset
|
512 extern void build_imchat_box(gboolean); |
425
ae7c762775cd
[gaim-migrate @ 435]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
423
diff
changeset
|
513 extern void do_quit(); |
834
bac7089491c1
[gaim-migrate @ 844]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
830
diff
changeset
|
514 extern void update_chat_button_pix(); |
909
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
904
diff
changeset
|
515 extern void update_im_button_pix(); |
1058
4927ce25d8cc
[gaim-migrate @ 1068]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1056
diff
changeset
|
516 extern void update_idle_times(); |
1 | 517 |
518 /* Functions in html.c */ | |
519 extern struct g_url parse_url(char *); | |
1087
56c7ceb986a8
[gaim-migrate @ 1097]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1075
diff
changeset
|
520 extern char *grab_url(struct aim_user *, char *); |
1 | 521 extern gchar *strip_html(gchar *); |
522 | |
1026 | 523 /* Functions in idle.c */ |
524 extern gint check_idle(struct gaim_connection *); | |
525 | |
1 | 526 /* Functions in util.c */ |
527 extern char *normalize(const char *); | |
528 extern int escape_text(char *); | |
26 | 529 extern char *escape_text2(char *); |
1 | 530 extern int escape_message(char *msg); |
531 extern char *frombase64(char *); | |
532 extern gint clean_pid(void *); | |
533 extern char *date(); | |
534 extern gint linkify_text(char *); | |
535 extern void aol_icon(GdkWindow *); | |
373
1d29321843b0
[gaim-migrate @ 383]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
371
diff
changeset
|
536 extern FILE *open_log_file (char *); |
1 | 537 extern char *sec_to_text(int); |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
538 extern struct aim_user *find_user(const char *, int); |
70 | 539 extern char *full_date(); |
180 | 540 extern void check_gaim_versions(); |
592
7c75d69a1129
[gaim-migrate @ 602]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
590
diff
changeset
|
541 extern char *away_subs(char *, char *); |
603
9b0717b4a490
[gaim-migrate @ 613]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
602
diff
changeset
|
542 extern GtkWidget *picture_button(GtkWidget *, char *, char **); |
754 | 543 extern GtkWidget *picture_button2(GtkWidget *, char *, char **, short); |
684
b29c92be568b
[gaim-migrate @ 694]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
678
diff
changeset
|
544 extern void translate_lst (FILE *, char *); |
b29c92be568b
[gaim-migrate @ 694]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
678
diff
changeset
|
545 extern void translate_blt (FILE *, char *); |
765
bf31bf916f53
[gaim-migrate @ 775]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
764
diff
changeset
|
546 extern char *stylize(gchar *, int); |
915
378c862a2381
[gaim-migrate @ 925]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
909
diff
changeset
|
547 extern int set_dispstyle (int); |
1009
d496fe2614a6
[gaim-migrate @ 1019]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1006
diff
changeset
|
548 extern void show_usage (int, char *); |
d496fe2614a6
[gaim-migrate @ 1019]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1006
diff
changeset
|
549 extern void set_first_user (char *); |
d496fe2614a6
[gaim-migrate @ 1019]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1006
diff
changeset
|
550 extern int do_auto_login (char *); |
1035
80a47e3b1bca
[gaim-migrate @ 1045]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1032
diff
changeset
|
551 extern int file_is_dir (char *, GtkWidget *); |
1 | 552 |
553 /* Functions in server.c */ | |
554 /* input to serv */ | |
980
82c5865f7cfe
[gaim-migrate @ 990]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
978
diff
changeset
|
555 extern void serv_login(struct aim_user *); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
556 extern void serv_close(struct gaim_connection *); |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
557 extern void serv_touch_idle(struct gaim_connection *); |
1 | 558 extern void serv_finish_login(); |
980
82c5865f7cfe
[gaim-migrate @ 990]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
978
diff
changeset
|
559 extern void serv_send_im(struct gaim_connection *, char *, char *, int); |
1032
643a4d81c18a
[gaim-migrate @ 1042]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1030
diff
changeset
|
560 extern void serv_get_info(struct gaim_connection *, char *); |
643a4d81c18a
[gaim-migrate @ 1042]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1030
diff
changeset
|
561 extern void serv_get_away_msg(struct gaim_connection *, char *); |
643a4d81c18a
[gaim-migrate @ 1042]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1030
diff
changeset
|
562 extern void serv_get_dir(struct gaim_connection *, char *); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
563 extern void serv_set_idle(struct gaim_connection *, int); |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
564 extern void serv_set_info(struct gaim_connection *, char *); |
1 | 565 extern void serv_set_away(char *); |
978
563c409e26a1
[gaim-migrate @ 988]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
976
diff
changeset
|
566 extern void serv_change_passwd(struct gaim_connection *, char *, char *); |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
567 extern void serv_add_buddy(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
568 extern void serv_add_buddies(struct gaim_connection *, GList *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
569 extern void serv_remove_buddy(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
570 extern void serv_add_permit(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
571 extern void serv_add_deny(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
572 extern void serv_rem_permit(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
573 extern void serv_rem_deny(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
574 extern void serv_set_permit_deny(struct gaim_connection *); |
976
2586b2a3725e
[gaim-migrate @ 986]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
975
diff
changeset
|
575 extern void serv_warn(struct gaim_connection *, char *, int); |
1102
d7944415b1cc
[gaim-migrate @ 1112]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1100
diff
changeset
|
576 extern void serv_set_dir(struct gaim_connection *, char *, char *, char *, char *, char *, char *, char *, int); |
d7944415b1cc
[gaim-migrate @ 1112]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1100
diff
changeset
|
577 extern void serv_dir_search(struct gaim_connection *, char *, char *, char *, char *, char *, char *, char *, char *); |
964
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
578 extern void serv_accept_chat(struct gaim_connection *, int); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
579 extern void serv_join_chat(struct gaim_connection *, int, char *); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
580 extern void serv_chat_invite(struct gaim_connection *, int, char *, char *); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
581 extern void serv_chat_leave(struct gaim_connection *, int); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
582 extern void serv_chat_whisper(struct gaim_connection *, int, char *, char *); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
583 extern void serv_chat_send(struct gaim_connection *, int, char *); |
1106
5bc8fdacd2cb
[gaim-migrate @ 1116]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1102
diff
changeset
|
584 extern void update_keepalive(struct gaim_connection *, gboolean); |
1 | 585 |
586 /* output from serv */ | |
1056
bde34730789c
[gaim-migrate @ 1066]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1051
diff
changeset
|
587 extern void serv_got_update(struct gaim_connection *, char *, int, int, time_t, time_t, int, gushort); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
588 extern void serv_got_im(struct gaim_connection *, char *, char *, int); |
1100
f168625b63fe
[gaim-migrate @ 1110]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1088
diff
changeset
|
589 extern void serv_got_eviled(struct gaim_connection *, char *, int); |
964
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
590 extern void serv_got_chat_invite(struct gaim_connection *, char *, int, char *, char *); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
591 extern void serv_got_joined_chat(struct gaim_connection *, int, char *); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
592 extern void serv_got_chat_left(struct gaim_connection *, int); |
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
593 extern void serv_got_chat_in(struct gaim_connection *, int, char *, int, char *); |
1 | 594 |
595 /* Functions in conversation.c */ | |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
596 extern void update_convo_add_button(struct conversation *); |
602
02ea095a972a
[gaim-migrate @ 612]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
599
diff
changeset
|
597 extern void write_html_with_smileys(GtkWidget *, GtkWidget *, char *); |
472
6a92cd7322cc
[gaim-migrate @ 482]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
436
diff
changeset
|
598 extern void write_to_conv(struct conversation *, char *, int, char *); |
1 | 599 extern void show_conv(struct conversation *); |
600 extern struct conversation *new_conversation(char *); | |
601 extern struct conversation *find_conversation(char *); | |
602 extern void delete_conversation(struct conversation *); | |
603 extern void surround(GtkWidget *, char *, char *); | |
604 extern int is_logging(char *); | |
605 extern void set_state_lock(int ); | |
606 extern void rm_log(struct log_conversation *a); | |
607 extern struct log_conversation *find_log_info(char *name); | |
608 extern void remove_tags(GtkWidget *entry, char *tag); | |
609 extern void update_log_convs(); | |
610 extern void update_transparency(); | |
611 extern void update_font_buttons(); | |
234
985635758c33
[gaim-migrate @ 244]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
230
diff
changeset
|
612 extern void toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); |
344
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
613 extern void do_bold(GtkWidget *, GtkWidget *); |
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
614 extern void do_italic(GtkWidget *, GtkWidget *); |
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
615 extern void do_underline(GtkWidget *, GtkWidget *); |
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
616 extern void do_strike(GtkWidget *, GtkWidget *); |
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
617 extern void do_small(GtkWidget *, GtkWidget *); |
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
618 extern void do_normal(GtkWidget *, GtkWidget *); |
2434adbb8703
[gaim-migrate @ 354]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
340
diff
changeset
|
619 extern void do_big(GtkWidget *, GtkWidget *); |
666
71ea550c22ac
[gaim-migrate @ 676]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
660
diff
changeset
|
620 extern void set_font_face(char *, struct conversation *); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
621 extern void redo_convo_menus(); |
1124
a70d5200edde
[gaim-migrate @ 1134]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1117
diff
changeset
|
622 extern void toggle_spellchk(); |
1 | 623 |
624 /* Functions in toc.c */ | |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
625 extern void parse_toc_buddy_list(struct gaim_connection *, char *, int); |
1 | 626 |
627 /* Functions in buddy.c */ | |
628 extern void destroy_buddy(); | |
629 extern void update_button_pix(); | |
1072
81d19577285a
[gaim-migrate @ 1082]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1070
diff
changeset
|
630 extern void toggle_show_empty_groups(); |
1 | 631 extern void update_all_buddies(); |
1070
b288f17c2fb2
[gaim-migrate @ 1080]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1068
diff
changeset
|
632 extern void update_num_groups(); |
1 | 633 extern void show_buddy_list(); |
634 extern void refresh_buddy_window(); | |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
635 extern void toc_build_config(struct gaim_connection *, char *, int len, gboolean); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
636 extern void signoff(struct gaim_connection *); |
966
f7886476f9d9
[gaim-migrate @ 976]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
964
diff
changeset
|
637 extern void signoff_all(GtkWidget *, gpointer); |
1 | 638 extern void do_im_back(); |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
639 extern void set_buddy(struct gaim_connection *, struct buddy *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
640 extern struct group *add_group(struct gaim_connection *, char *); |
1 | 641 extern void add_category(char *); |
642 extern void build_edit_tree(); | |
643 extern void remove_person(struct group *, struct buddy *); | |
644 extern void remove_category(struct group *); | |
645 extern void do_pounce(char *); | |
646 extern void do_bp_menu(); | |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
647 extern struct buddy *find_buddy(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
648 extern struct group *find_group(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
649 extern struct group *find_group_by_buddy(struct gaim_connection *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
650 extern void remove_buddy(struct gaim_connection *, struct group *, struct buddy *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
651 extern struct buddy *add_buddy(struct gaim_connection *, char *, char *, char *); |
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
652 extern void remove_group(struct gaim_connection *, struct group *); |
1 | 653 |
654 /* Functions in away.c */ | |
655 extern void rem_away_mess(GtkWidget *, struct away_message *); | |
656 extern void do_away_message(GtkWidget *, struct away_message *); | |
657 extern void do_away_menu(); | |
658 extern void away_list_unclicked(GtkWidget *, struct away_message *); | |
659 extern void away_list_clicked(GtkWidget *, struct away_message *); | |
660 | |
661 /* Functions in aim.c */ | |
662 extern void show_login(); | |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
663 extern void gaim_setup(struct gaim_connection *gc); |
1 | 664 #ifdef USE_APPLET |
107
55faf2e3a134
[gaim-migrate @ 117]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
94
diff
changeset
|
665 extern void createOnlinePopup(); |
1 | 666 extern void applet_show_login(AppletWidget *, gpointer); |
667 GtkRequisition gnome_buddy_get_dimentions(); | |
668 #endif | |
669 | |
670 | |
671 /* Functions in sound.c */ | |
672 extern void play_sound(int); | |
673 | |
784
4c292b3f74ea
[gaim-migrate @ 794]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
780
diff
changeset
|
674 /* Functions in perl.c */ |
4c292b3f74ea
[gaim-migrate @ 794]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
780
diff
changeset
|
675 #ifdef USE_PERL |
4c292b3f74ea
[gaim-migrate @ 794]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
780
diff
changeset
|
676 extern void perl_init(); |
800
022048cde898
[gaim-migrate @ 810]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
798
diff
changeset
|
677 extern void perl_autoload(); |
784
4c292b3f74ea
[gaim-migrate @ 794]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
780
diff
changeset
|
678 extern int perl_load_file(char *); |
4c292b3f74ea
[gaim-migrate @ 794]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
780
diff
changeset
|
679 extern void perl_end(); |
806
67bdecdecbb7
[gaim-migrate @ 816]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
800
diff
changeset
|
680 extern int perl_event(char *, char *); |
798
9dc39872e1f9
[gaim-migrate @ 808]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
797
diff
changeset
|
681 extern void load_perl_script(GtkWidget *, gpointer); |
9dc39872e1f9
[gaim-migrate @ 808]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
797
diff
changeset
|
682 extern void unload_perl_scripts(GtkWidget *, gpointer); |
9dc39872e1f9
[gaim-migrate @ 808]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
797
diff
changeset
|
683 extern void list_perl_scripts(GtkWidget *, gpointer); |
784
4c292b3f74ea
[gaim-migrate @ 794]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
780
diff
changeset
|
684 #endif |
1 | 685 |
780
c714def9cebb
[gaim-migrate @ 790]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
765
diff
changeset
|
686 /* Functions in plugins.c */ |
1 | 687 #ifdef GAIM_PLUGINS |
139
c009c4f4ad02
[gaim-migrate @ 149]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
136
diff
changeset
|
688 extern void show_plugins(GtkWidget *, gpointer); |
142
fbabd28795d2
[gaim-migrate @ 152]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
139
diff
changeset
|
689 extern void load_plugin (char *); |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
690 extern void gaim_signal_connect(GModule *, enum gaim_event, void *, void *); |
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
691 extern void gaim_signal_disconnect(GModule *, enum gaim_event, void *); |
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1038
diff
changeset
|
692 extern void gaim_plugin_unload(GModule *); |
1 | 693 #endif |
797
c13e78ae0f86
[gaim-migrate @ 807]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
784
diff
changeset
|
694 extern char *event_name(enum gaim_event); |
1100
f168625b63fe
[gaim-migrate @ 1110]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1088
diff
changeset
|
695 extern int plugin_event(enum gaim_event, void *, void *, void *, void *); |
1 | 696 |
697 /* Functions in prefs.c */ | |
698 extern void debug_print( char * chars ); | |
970 | 699 extern void debug_printf( char * fmt, ... ); |
1 | 700 extern void set_general_option(GtkWidget *, int *); |
701 extern void set_option(GtkWidget *, int *); | |
702 extern void show_prefs(); | |
652
4d3285caa191
[gaim-migrate @ 662]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
623
diff
changeset
|
703 extern void show_debug(GtkObject *); |
873
789df4b47508
[gaim-migrate @ 883]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
864
diff
changeset
|
704 extern void update_color(GtkWidget *, GtkWidget *); |
1109
c73736fa0b7c
[gaim-migrate @ 1119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1106
diff
changeset
|
705 extern void set_default_away(GtkWidget *, gpointer); |
c73736fa0b7c
[gaim-migrate @ 1119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1106
diff
changeset
|
706 extern void default_away_menu_init(GtkWidget *); |
1124
a70d5200edde
[gaim-migrate @ 1134]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1117
diff
changeset
|
707 extern void update_connection_dependent_prefs(); |
1125
1a3dbc0e6529
[gaim-migrate @ 1135]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1124
diff
changeset
|
708 extern void build_allow_list(); |
1a3dbc0e6529
[gaim-migrate @ 1135]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1124
diff
changeset
|
709 extern void build_block_list(); |
652
4d3285caa191
[gaim-migrate @ 662]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
623
diff
changeset
|
710 extern GtkWidget *prefs_away_list; |
1109
c73736fa0b7c
[gaim-migrate @ 1119]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1106
diff
changeset
|
711 extern GtkWidget *prefs_away_menu; |
873
789df4b47508
[gaim-migrate @ 883]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
864
diff
changeset
|
712 extern GtkWidget *pref_fg_picture; |
789df4b47508
[gaim-migrate @ 883]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
864
diff
changeset
|
713 extern GtkWidget *pref_bg_picture; |
789df4b47508
[gaim-migrate @ 883]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
864
diff
changeset
|
714 |
1 | 715 |
716 /* Functions in gaimrc.c */ | |
917 | 717 extern void set_defaults(int); |
1 | 718 extern void load_prefs(); |
719 extern void save_prefs(); | |
720 | |
721 | |
722 /* Functions in dialogs.c */ | |
1036
faa5afc2b89e
[gaim-migrate @ 1046]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1035
diff
changeset
|
723 extern void alias_dialog(struct buddy_show *); |
230
83dd297aa363
[gaim-migrate @ 240]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
210
diff
changeset
|
724 extern void do_export(GtkWidget *, void *); |
976
2586b2a3725e
[gaim-migrate @ 986]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
975
diff
changeset
|
725 extern void show_warn_dialog(struct gaim_connection *, char *); |
1 | 726 extern void do_error_dialog(char *, char *); |
727 extern void show_error_dialog(char *); | |
935
5e6ca3dd4d02
[gaim-migrate @ 945]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
930
diff
changeset
|
728 extern void show_im_dialog(); |
5e6ca3dd4d02
[gaim-migrate @ 945]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
930
diff
changeset
|
729 extern void show_info_dialog(); |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
730 extern void show_add_buddy(struct gaim_connection *, char *, char *); |
1072
81d19577285a
[gaim-migrate @ 1082]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1070
diff
changeset
|
731 extern void show_add_group(struct gaim_connection *); |
1144
b1454d019277
[gaim-migrate @ 1154]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1138
diff
changeset
|
732 extern void show_add_perm(struct gaim_connection *, char *, gboolean); |
1 | 733 extern void destroy_all_dialogs(); |
734 extern void show_export_dialog(); | |
735 extern void show_import_dialog(); | |
736 extern void show_new_bp(); | |
608 | 737 extern void show_log_dialog(struct conversation *); |
1 | 738 extern void show_find_email(); |
739 extern void show_find_info(); | |
1087
56c7ceb986a8
[gaim-migrate @ 1097]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1075
diff
changeset
|
740 extern void g_show_info (struct aim_user *, char *); |
247
f6e8ea29b24f
[gaim-migrate @ 257]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
242
diff
changeset
|
741 extern void g_show_info_text (char *); |
1 | 742 extern void show_set_info(); |
743 extern void show_set_dir(); | |
858
3de6e98e8898
[gaim-migrate @ 868]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
854
diff
changeset
|
744 extern void show_fgcolor_dialog(struct conversation *c, GtkWidget *color); |
3de6e98e8898
[gaim-migrate @ 868]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
854
diff
changeset
|
745 extern void show_bgcolor_dialog(struct conversation *c, GtkWidget *color); |
3de6e98e8898
[gaim-migrate @ 868]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
854
diff
changeset
|
746 extern void cancel_fgcolor(GtkWidget *widget, struct conversation *c); |
3de6e98e8898
[gaim-migrate @ 868]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
854
diff
changeset
|
747 extern void cancel_bgcolor(GtkWidget *widget, struct conversation *c); |
1 | 748 extern void create_away_mess(GtkWidget *, void *); |
749 extern void show_ee_dialog(int); | |
608 | 750 extern void show_add_link(GtkWidget *,struct conversation *); |
146 | 751 extern void show_change_passwd(); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
752 extern void do_import(GtkWidget *, struct gaim_connection *); |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
753 extern int bud_list_cache_exists(struct gaim_connection *); |
555 | 754 extern void show_smiley_dialog(struct conversation *, GtkWidget *); |
569 | 755 extern void close_smiley_dialog(GtkWidget *widget, struct conversation *c); |
756 extern void set_smiley_array(GtkWidget *widget, int smiley_type); | |
757 extern void insert_smiley_text(GtkWidget *widget, struct conversation *c); | |
608 | 758 extern void cancel_log(GtkWidget *, struct conversation *); |
759 extern void cancel_link(GtkWidget *, struct conversation *); | |
311
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
760 extern void show_font_dialog(struct conversation *c, GtkWidget *font); |
0a8b4edc4732
[gaim-migrate @ 321]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
308
diff
changeset
|
761 extern void cancel_font(GtkWidget *widget, struct conversation *c); |
230
83dd297aa363
[gaim-migrate @ 240]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
210
diff
changeset
|
762 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); |
728 | 763 extern void set_color_selection(GtkWidget *selection, GdkColor color); |
230
83dd297aa363
[gaim-migrate @ 240]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
210
diff
changeset
|
764 |
198
73e9a0bfff62
[gaim-migrate @ 208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
197
diff
changeset
|
765 /* Functions in rvous.c */ |
73e9a0bfff62
[gaim-migrate @ 208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
197
diff
changeset
|
766 extern void accept_file_dialog(struct file_transfer *); |
73e9a0bfff62
[gaim-migrate @ 208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
197
diff
changeset
|
767 |
1 | 768 /* Functions in browser.c */ |
769 extern void open_url(GtkWidget *, char *); | |
770 extern void open_url_nw(GtkWidget *, char *); | |
771 extern void add_bookmark(GtkWidget *, char *); | |
772 | |
773 /* functions for appletmgr */ | |
774 extern char * getConfig(); | |
775 | |
604
0b1a132e0f75
[gaim-migrate @ 614]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
603
diff
changeset
|
776 /* fucntions in ticker.c */ |
0b1a132e0f75
[gaim-migrate @ 614]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
603
diff
changeset
|
777 void SetTickerPrefs(); |
0b1a132e0f75
[gaim-migrate @ 614]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
603
diff
changeset
|
778 void BuddyTickerSignOff(); |
0b1a132e0f75
[gaim-migrate @ 614]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
603
diff
changeset
|
779 void BuddyTickerAddUser(char *, GdkPixmap *, GdkBitmap *); |
0b1a132e0f75
[gaim-migrate @ 614]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
603
diff
changeset
|
780 void BuddyTickerSetPixmap(char *, GdkPixmap *, GdkBitmap *); |
0b1a132e0f75
[gaim-migrate @ 614]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
603
diff
changeset
|
781 void BuddyTickerSignoff(); |
960
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
782 |
fa681641643d
[gaim-migrate @ 970]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
940
diff
changeset
|
783 #endif /* _GAIM_GAIM_H_ */ |