Mercurial > pidgin
annotate src/connection.h @ 10740:94cc67130789
[gaim-migrate @ 12342]
More big changes, yay.
I combined gaim_connection_new and gaim_connection_connect. Earlier
today I realized that it's dumb to have a GaimConnection that isn't
connected.
I'm about to combine gaim_connection_disconnect and
gaim_connection_destroy, as well.
I added a "password" field to GaimConnection.
It holds the password used to login a specific GaimConnection. Now,
when "remember password" is false, account->password is NEVER set.
When the user tries to sign on and Gaim prompts for the password,
it goes directly into the GaimConnection.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 26 Mar 2005 23:25:18 +0000 |
parents | 55af3fa46329 |
children | 4228b6d78506 |
rev | line source |
---|---|
5563 | 1 /** |
2 * @file connection.h Connection API | |
3 * @ingroup core | |
4 * | |
5 * gaim | |
6 * | |
8046 | 7 * Gaim is the legal property of its developers, whose names are too numerous |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
6460
ff4551719cc7
[gaim-migrate @ 6969]
Christian Hammond <chipx86@chipx86.com>
parents:
6393
diff
changeset
|
10 * |
5563 | 11 * This program is free software; you can redistribute it and/or modify |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
6724
aca39e77db85
[gaim-migrate @ 7251]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
24 * |
aca39e77db85
[gaim-migrate @ 7251]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
25 * @see @ref connection-signals |
5563 | 26 */ |
27 #ifndef _GAIM_CONNECTION_H_ | |
28 #define _GAIM_CONNECTION_H_ | |
29 | |
30 typedef struct _GaimConnection GaimConnection; | |
31 | |
6622 | 32 /** |
33 * Flags to change behavior of the client for a given connection. | |
34 */ | |
35 typedef enum | |
36 { | |
6982 | 37 GAIM_CONNECTION_HTML = 0x0001, /**< Connection sends/receives in 'HTML'. */ |
8735
92cbf9713795
[gaim-migrate @ 9490]
Christian Hammond <chipx86@chipx86.com>
parents:
8691
diff
changeset
|
38 GAIM_CONNECTION_NO_BGCOLOR = 0x0002, /**< Connection does not send/receive |
6982 | 39 background colors. */ |
8677 | 40 GAIM_CONNECTION_AUTO_RESP = 0x0004, /**< Send auto responses when away. */ |
41 GAIM_CONNECTION_FORMATTING_WBFO = 0x0008, /**< The text buffer must be formatted as a whole */ | |
8691
0eb5161ef333
[gaim-migrate @ 9444]
Christian Hammond <chipx86@chipx86.com>
parents:
8677
diff
changeset
|
42 GAIM_CONNECTION_NO_NEWLINES = 0x0010, /**< No new lines are allowed in outgoing messages */ |
9041 | 43 GAIM_CONNECTION_NO_FONTSIZE = 0x0020, /**< Connection does not send/receive font sizes */ |
10665 | 44 GAIM_CONNECTION_NO_URLDESC = 0x0040, /**< Connection does not support descriptions with links */ |
45 GAIM_CONNECTION_NO_IMAGES = 0x0080, /**< Connection does not support sending of images */ | |
10008 | 46 |
6622 | 47 } GaimConnectionFlags; |
5872
059d95c67cda
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5733
diff
changeset
|
48 |
5563 | 49 typedef enum |
50 { | |
51 GAIM_DISCONNECTED = 0, /**< Disconnected. */ | |
52 GAIM_CONNECTED, /**< Connected. */ | |
53 GAIM_CONNECTING /**< Connecting. */ | |
54 | |
55 } GaimConnectionState; | |
56 | |
10021 | 57 #include <time.h> |
58 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
59 #include "account.h" |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
60 #include "plugin.h" |
10400 | 61 #include "status.h" |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
62 |
5563 | 63 typedef struct |
64 { | |
65 void (*connect_progress)(GaimConnection *gc, const char *text, | |
66 size_t step, size_t step_count); | |
67 void (*connected)(GaimConnection *gc); | |
6460
ff4551719cc7
[gaim-migrate @ 6969]
Christian Hammond <chipx86@chipx86.com>
parents:
6393
diff
changeset
|
68 void (*disconnected)(GaimConnection *gc); |
5571
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
69 void (*notice)(GaimConnection *gc, const char *text); |
6460
ff4551719cc7
[gaim-migrate @ 6969]
Christian Hammond <chipx86@chipx86.com>
parents:
6393
diff
changeset
|
70 void (*report_disconnect)(GaimConnection *gc, const char *text); |
5563 | 71 |
72 } GaimConnectionUiOps; | |
73 | |
74 struct _GaimConnection | |
75 { | |
76 GaimPlugin *prpl; /**< The protocol plugin. */ | |
6622 | 77 GaimConnectionFlags flags; /**< Connection flags. */ |
5563 | 78 |
79 GaimConnectionState state; /**< The connection state. */ | |
80 | |
81 GaimAccount *account; /**< The account being connected to. */ | |
10740 | 82 char *password; /**< The password used. */ |
5563 | 83 int inpa; /**< The input watcher. */ |
84 | |
85 GSList *buddy_chats; /**< A list of active chats. */ | |
86 void *proto_data; /**< Protocol-specific data. */ | |
87 | |
88 char *display_name; /**< The name displayed. */ | |
89 guint keep_alive; /**< Keep-alive. */ | |
90 | |
91 guint idle_timer; /**< The idle timer. */ | |
92 time_t login_time; /**< Time of login. */ | |
93 time_t last_sent_time; /**< The time something was last sent. */ | |
94 int is_idle; /**< Idle state of the connection. */ | |
95 | |
96 gboolean is_auto_away; /**< Whether or not it's auto-away. */ | |
97 | |
8430 | 98 gboolean wants_to_die; /**< Wants to Die state. This is set |
10272 | 99 when the user chooses to log out, |
8430 | 100 or when the protocol is |
101 disconnected and should not be | |
102 automatically reconnected | |
103 (incorrect password, etc.) */ | |
6393 | 104 guint disconnect_timeout; /**< Timer used for nasty stack tricks */ |
5563 | 105 }; |
106 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
107 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
108 extern "C" { |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
109 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
110 |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
111 /**************************************************************************/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
112 /** @name Connection API */ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
113 /**************************************************************************/ |
6488
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
114 /*@{*/ |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
115 |
5563 | 116 /** |
10740 | 117 * This function should only be called by gaim_connection_connect() |
118 * in account.c. If you're trying to sign on an account, use that | |
119 * function instead. | |
120 * | |
121 * Creates a connection to the specified account and either connects | |
122 * or attempts to register a new account. If you are logging in, | |
123 * the connection uses the current active status for this account. | |
124 * So if you want to sign on as "away," for example, you need to | |
125 * have called gaim_account_set_status(account, "away"). | |
126 * (And this will call gaim_account_connect() automatically). | |
5563 | 127 * |
128 * @param account The account the connection should be connecting to. | |
10740 | 129 * @param register Whether we are registering a new account or just |
130 * trying to do a normal signon. | |
131 * @param password The password to use. | |
5563 | 132 */ |
10740 | 133 void gaim_connection_new(GaimAccount *account, gboolean regist, |
134 const char *password); | |
5563 | 135 |
136 /** | |
10738 | 137 * This function should only be called by gaim_connection_connect() |
138 * in account.c. If you're trying to sign on an account, use that | |
139 * function instead. | |
140 * | |
10740 | 141 * Disconnects and destroys a GaimConnection. |
5563 | 142 * |
10740 | 143 * @param gc The gaim connection to destroy. |
5563 | 144 */ |
10740 | 145 void gaim_connection_destroy(GaimConnection *gc); |
6581 | 146 |
147 /** | |
10738 | 148 * This function should only be called by gaim_connection_disconnect() |
149 * in account.c. If you're trying to sign out an account, use that | |
150 * function instead. | |
151 * | |
10272 | 152 * Logs out of this connection. |
6583
e07c66073b6d
[gaim-migrate @ 7105]
Christian Hammond <chipx86@chipx86.com>
parents:
6581
diff
changeset
|
153 * |
10272 | 154 * @param gc The connection to log out. |
5563 | 155 * |
156 * @see gaim_connection_connect() | |
157 */ | |
158 void gaim_connection_disconnect(GaimConnection *gc); | |
159 | |
160 /** | |
161 * Sets the connection state. | |
162 * | |
163 * @param gc The connection. | |
164 * @param state The connection state. | |
165 */ | |
166 void gaim_connection_set_state(GaimConnection *gc, GaimConnectionState state); | |
167 | |
168 /** | |
169 * Sets the connection's account. | |
170 * | |
171 * @param gc The connection. | |
172 * @param account The account. | |
173 */ | |
174 void gaim_connection_set_account(GaimConnection *gc, GaimAccount *account); | |
175 | |
176 /** | |
177 * Sets the connection's displayed name. | |
178 * | |
179 * @param gc The connection. | |
180 * @param name The displayed name. | |
181 */ | |
182 void gaim_connection_set_display_name(GaimConnection *gc, const char *name); | |
183 | |
184 /** | |
185 * Returns the connection state. | |
186 * | |
187 * @param gc The connection. | |
188 * | |
189 * @return The connection state. | |
190 */ | |
191 GaimConnectionState gaim_connection_get_state(const GaimConnection *gc); | |
192 | |
193 /** | |
9019 | 194 * Returns TRUE if the account is connected, otherwise returns FALSE. |
195 * | |
196 * @return TRUE if the account is connected, otherwise returns FALSE. | |
197 */ | |
198 #define GAIM_CONNECTION_IS_CONNECTED(gc) \ | |
199 (gc->state == GAIM_CONNECTED) | |
200 | |
201 /** | |
5563 | 202 * Returns the connection's account. |
203 * | |
204 * @param gc The connection. | |
205 * | |
206 * @return The connection's account. | |
207 */ | |
208 GaimAccount *gaim_connection_get_account(const GaimConnection *gc); | |
209 | |
210 /** | |
10740 | 211 * Returns the connection's password. |
212 * | |
213 * @param gc The connection. | |
214 * | |
215 * @return The connection's password. | |
216 */ | |
217 const char *gaim_connection_get_password(const GaimConnection *gc); | |
218 | |
219 /** | |
5563 | 220 * Returns the connection's displayed name. |
221 * | |
222 * @param gc The connection. | |
223 * | |
224 * @return The connection's displayed name. | |
225 */ | |
226 const char *gaim_connection_get_display_name(const GaimConnection *gc); | |
227 | |
228 /** | |
229 * Updates the connection progress. | |
230 * | |
231 * @param gc The connection. | |
232 * @param text Information on the current step. | |
233 * @param step The current step. | |
234 * @param count The total number of steps. | |
235 */ | |
236 void gaim_connection_update_progress(GaimConnection *gc, const char *text, | |
237 size_t step, size_t count); | |
238 | |
239 /** | |
5571
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
240 * Displays a connection-specific notice. |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
241 * |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
242 * @param gc The connection. |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
243 * @param text The notice text. |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
244 */ |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
245 void gaim_connection_notice(GaimConnection *gc, const char *text); |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
246 |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
247 /** |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
248 * Closes a connection with an error. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
249 * |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
250 * @param gc The connection. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
251 * @param reason The error text. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
252 */ |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
253 void gaim_connection_error(GaimConnection *gc, const char *reason); |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
254 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
255 /*@}*/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
256 |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
257 /**************************************************************************/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
258 /** @name Connections API */ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
259 /**************************************************************************/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
260 /*@{*/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
261 |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
262 /** |
5563 | 263 * Disconnects from all connections. |
264 */ | |
265 void gaim_connections_disconnect_all(void); | |
266 | |
267 /** | |
10352 | 268 * Returns a list of all active connections. This does not |
269 * include connections that are in the process of connecting. | |
5563 | 270 * |
271 * @return A list of all active connections. | |
272 */ | |
273 GList *gaim_connections_get_all(void); | |
274 | |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
275 /** |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
276 * Returns a list of all connections in the process of connecting. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
277 * |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
278 * @return A list of connecting connections. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
279 */ |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
280 GList *gaim_connections_get_connecting(void); |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
281 |
9221 | 282 /** |
283 * Checks if gc is still a valid pointer to a gc. | |
284 * | |
285 * @return @c TRUE if gc is valid. | |
286 */ | |
287 #define GAIM_CONNECTION_IS_VALID(gc) (g_list_find(gaim_connections_get_all(), (gc)) || g_list_find(gaim_connections_get_connecting(), (gc))) | |
288 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
289 /*@}*/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
290 |
5563 | 291 /**************************************************************************/ |
7122
b90c94620d1c
[gaim-migrate @ 7689]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
292 /** @name UI Registration Functions */ |
5563 | 293 /**************************************************************************/ |
294 /*@{*/ | |
295 | |
296 /** | |
297 * Sets the UI operations structure to be used for connections. | |
298 * | |
299 * @param ops The UI operations structure. | |
300 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6982
diff
changeset
|
301 void gaim_connections_set_ui_ops(GaimConnectionUiOps *ops); |
5563 | 302 |
303 /** | |
304 * Returns the UI operations structure used for connections. | |
305 * | |
306 * @return The UI operations structure in use. | |
307 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6982
diff
changeset
|
308 GaimConnectionUiOps *gaim_connections_get_ui_ops(void); |
5563 | 309 |
310 /*@}*/ | |
311 | |
6488
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
312 /**************************************************************************/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
313 /** @name Connections Subsystem */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
314 /**************************************************************************/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
315 /*@{*/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
316 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
317 /** |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
318 * Initializes the connections subsystem. |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
319 */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
320 void gaim_connections_init(void); |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
321 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
322 /** |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
323 * Uninitializes the connections subsystem. |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
324 */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
325 void gaim_connections_uninit(void); |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
326 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
327 /** |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
328 * Returns the handle to the connections subsystem. |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
329 * |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
330 * @return The connections subsystem handle. |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
331 */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
332 void *gaim_connections_get_handle(void); |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
333 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
334 /*@}*/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
335 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
336 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
337 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
338 } |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
339 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
340 |
5563 | 341 #endif /* _GAIM_CONNECTION_H_ */ |