Mercurial > pidgin.yaz
annotate src/connection.h @ 10391:38256d3e8324
[gaim-migrate @ 11619]
Aoccdrnig to rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in
waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht
the frist and lsat ltteer be at the rghit pclae. The rset can be a total
mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the
huamn mnid deos not raed ervey lteter by istlef, but the wrod as a
wlohe.
Some people, however, prefer things to be correct.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 16 Dec 2004 15:36:49 +0000 |
parents | 5879593a6a10 |
children | 6a043ae92db6 |
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 */ |
44 GAIM_CONNECTION_NO_URLDESC = 0x0040 /**< Connection does not support descriptions with links */ | |
10008 | 45 |
6622 | 46 } GaimConnectionFlags; |
5872
059d95c67cda
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5733
diff
changeset
|
47 |
5563 | 48 typedef enum |
49 { | |
50 GAIM_DISCONNECTED = 0, /**< Disconnected. */ | |
51 GAIM_CONNECTED, /**< Connected. */ | |
52 GAIM_CONNECTING /**< Connecting. */ | |
53 | |
54 } GaimConnectionState; | |
55 | |
10021 | 56 #include <time.h> |
57 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
58 #include "account.h" |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
59 #include "plugin.h" |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
60 |
5563 | 61 typedef struct |
62 { | |
63 void (*connect_progress)(GaimConnection *gc, const char *text, | |
64 size_t step, size_t step_count); | |
65 void (*connected)(GaimConnection *gc); | |
6460
ff4551719cc7
[gaim-migrate @ 6969]
Christian Hammond <chipx86@chipx86.com>
parents:
6393
diff
changeset
|
66 void (*disconnected)(GaimConnection *gc); |
5571
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
67 void (*notice)(GaimConnection *gc, const char *text); |
6460
ff4551719cc7
[gaim-migrate @ 6969]
Christian Hammond <chipx86@chipx86.com>
parents:
6393
diff
changeset
|
68 void (*report_disconnect)(GaimConnection *gc, const char *text); |
5563 | 69 |
70 } GaimConnectionUiOps; | |
71 | |
72 struct _GaimConnection | |
73 { | |
74 GaimPlugin *prpl; /**< The protocol plugin. */ | |
6622 | 75 GaimConnectionFlags flags; /**< Connection flags. */ |
5563 | 76 |
77 GaimConnectionState state; /**< The connection state. */ | |
78 | |
79 GaimAccount *account; /**< The account being connected to. */ | |
80 int inpa; /**< The input watcher. */ | |
81 | |
82 GSList *buddy_chats; /**< A list of active chats. */ | |
83 void *proto_data; /**< Protocol-specific data. */ | |
84 | |
85 char *display_name; /**< The name displayed. */ | |
86 guint keep_alive; /**< Keep-alive. */ | |
87 | |
88 guint idle_timer; /**< The idle timer. */ | |
89 time_t login_time; /**< Time of login. */ | |
90 time_t last_sent_time; /**< The time something was last sent. */ | |
91 int is_idle; /**< Idle state of the connection. */ | |
92 | |
93 gboolean is_auto_away; /**< Whether or not it's auto-away. */ | |
94 | |
8430 | 95 gboolean wants_to_die; /**< Wants to Die state. This is set |
10272 | 96 when the user chooses to log out, |
8430 | 97 or when the protocol is |
98 disconnected and should not be | |
99 automatically reconnected | |
100 (incorrect password, etc.) */ | |
6393 | 101 guint disconnect_timeout; /**< Timer used for nasty stack tricks */ |
5563 | 102 }; |
103 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
104 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
105 extern "C" { |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
106 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
107 |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
108 /**************************************************************************/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
109 /** @name Connection API */ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
110 /**************************************************************************/ |
6488
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
111 /*@{*/ |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
112 |
5563 | 113 /** |
114 * Creates a connection to the specified account. | |
115 * | |
116 * @param account The account the connection should be connecting to. | |
117 * | |
118 * @return The gaim connection. | |
119 */ | |
120 GaimConnection *gaim_connection_new(GaimAccount *account); | |
121 | |
122 /** | |
123 * Destroys and closes a gaim connection. | |
124 * | |
125 * @param gc The gaim connection to destroy. | |
126 */ | |
127 void gaim_connection_destroy(GaimConnection *gc); | |
128 | |
129 /** | |
10272 | 130 * Logs in to this connection. |
5563 | 131 * |
10272 | 132 * @param gc The connection to log in. |
5563 | 133 * |
134 * @see gaim_connection_disconnect() | |
135 */ | |
136 void gaim_connection_connect(GaimConnection *gc); | |
137 | |
138 /** | |
6581 | 139 * Registers a connection. |
140 * | |
141 * @param gc The connection to register. | |
142 */ | |
143 void gaim_connection_register(GaimConnection *gc); | |
144 | |
145 /** | |
10272 | 146 * Logs out of this connection. |
6583
e07c66073b6d
[gaim-migrate @ 7105]
Christian Hammond <chipx86@chipx86.com>
parents:
6581
diff
changeset
|
147 * |
10272 | 148 * @param gc The connection to log out. |
5563 | 149 * |
150 * @see gaim_connection_connect() | |
151 */ | |
152 void gaim_connection_disconnect(GaimConnection *gc); | |
153 | |
154 /** | |
155 * Sets the connection state. | |
156 * | |
157 * @param gc The connection. | |
158 * @param state The connection state. | |
159 */ | |
160 void gaim_connection_set_state(GaimConnection *gc, GaimConnectionState state); | |
161 | |
162 /** | |
163 * Sets the connection's account. | |
164 * | |
165 * @param gc The connection. | |
166 * @param account The account. | |
167 */ | |
168 void gaim_connection_set_account(GaimConnection *gc, GaimAccount *account); | |
169 | |
170 /** | |
171 * Sets the connection's displayed name. | |
172 * | |
173 * @param gc The connection. | |
174 * @param name The displayed name. | |
175 */ | |
176 void gaim_connection_set_display_name(GaimConnection *gc, const char *name); | |
177 | |
178 /** | |
179 * Returns the connection state. | |
180 * | |
181 * @param gc The connection. | |
182 * | |
183 * @return The connection state. | |
184 */ | |
185 GaimConnectionState gaim_connection_get_state(const GaimConnection *gc); | |
186 | |
187 /** | |
9019 | 188 * Returns TRUE if the account is connected, otherwise returns FALSE. |
189 * | |
190 * @return TRUE if the account is connected, otherwise returns FALSE. | |
191 */ | |
192 #define GAIM_CONNECTION_IS_CONNECTED(gc) \ | |
193 (gc->state == GAIM_CONNECTED) | |
194 | |
195 /** | |
5563 | 196 * Returns the connection's account. |
197 * | |
198 * @param gc The connection. | |
199 * | |
200 * @return The connection's account. | |
201 */ | |
202 GaimAccount *gaim_connection_get_account(const GaimConnection *gc); | |
203 | |
204 /** | |
205 * Returns the connection's displayed name. | |
206 * | |
207 * @param gc The connection. | |
208 * | |
209 * @return The connection's displayed name. | |
210 */ | |
211 const char *gaim_connection_get_display_name(const GaimConnection *gc); | |
212 | |
213 /** | |
214 * Updates the connection progress. | |
215 * | |
216 * @param gc The connection. | |
217 * @param text Information on the current step. | |
218 * @param step The current step. | |
219 * @param count The total number of steps. | |
220 */ | |
221 void gaim_connection_update_progress(GaimConnection *gc, const char *text, | |
222 size_t step, size_t count); | |
223 | |
224 /** | |
5571
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
225 * Displays a connection-specific notice. |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
226 * |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
227 * @param gc The connection. |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
228 * @param text The notice text. |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
229 */ |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
230 void gaim_connection_notice(GaimConnection *gc, const char *text); |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
231 |
113090160626
[gaim-migrate @ 5973]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
232 /** |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
233 * Closes a connection with an error. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
234 * |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
235 * @param gc The connection. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
236 * @param reason The error text. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
237 */ |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
238 void gaim_connection_error(GaimConnection *gc, const char *reason); |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
239 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
240 /*@}*/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
241 |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
242 /**************************************************************************/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
243 /** @name Connections API */ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
244 /**************************************************************************/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
245 /*@{*/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
246 |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
247 /** |
5563 | 248 * Disconnects from all connections. |
249 */ | |
250 void gaim_connections_disconnect_all(void); | |
251 | |
252 /** | |
10352 | 253 * Returns a list of all active connections. This does not |
254 * include connections that are in the process of connecting. | |
5563 | 255 * |
256 * @return A list of all active connections. | |
257 */ | |
258 GList *gaim_connections_get_all(void); | |
259 | |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
260 /** |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
261 * Returns a list of all connections in the process of connecting. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
262 * |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
263 * @return A list of connecting connections. |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
264 */ |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
265 GList *gaim_connections_get_connecting(void); |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
266 |
9221 | 267 /** |
268 * Checks if gc is still a valid pointer to a gc. | |
269 * | |
270 * @return @c TRUE if gc is valid. | |
271 */ | |
272 #define GAIM_CONNECTION_IS_VALID(gc) (g_list_find(gaim_connections_get_all(), (gc)) || g_list_find(gaim_connections_get_connecting(), (gc))) | |
273 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
274 /*@}*/ |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
275 |
5563 | 276 /**************************************************************************/ |
7122
b90c94620d1c
[gaim-migrate @ 7689]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
277 /** @name UI Registration Functions */ |
5563 | 278 /**************************************************************************/ |
279 /*@{*/ | |
280 | |
281 /** | |
282 * Sets the UI operations structure to be used for connections. | |
283 * | |
284 * @param ops The UI operations structure. | |
285 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6982
diff
changeset
|
286 void gaim_connections_set_ui_ops(GaimConnectionUiOps *ops); |
5563 | 287 |
288 /** | |
289 * Returns the UI operations structure used for connections. | |
290 * | |
291 * @return The UI operations structure in use. | |
292 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6982
diff
changeset
|
293 GaimConnectionUiOps *gaim_connections_get_ui_ops(void); |
5563 | 294 |
295 /*@}*/ | |
296 | |
6488
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
297 /**************************************************************************/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
298 /** @name Connections Subsystem */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
299 /**************************************************************************/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
300 /*@{*/ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
301 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
302 /** |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
303 * Initializes the connections subsystem. |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
304 */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
305 void gaim_connections_init(void); |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
306 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
307 /** |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
308 * Uninitializes the connections subsystem. |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
309 */ |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
310 void gaim_connections_uninit(void); |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
311 |
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 * Returns the handle to the 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 * @return The connections subsystem handle. |
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 void *gaim_connections_get_handle(void); |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
318 |
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 |
e5e8d21bd4d8
[gaim-migrate @ 7002]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
321 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
322 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
323 } |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
324 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
325 |
5563 | 326 #endif /* _GAIM_CONNECTION_H_ */ |