comparison libpurple/connection.h @ 18063:926ccb104da0

disapproval of revision '1411afd7660760db59966c3a9f18e2adab8eb27e'
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:00:35 +0000
parents 4ca97b26a8fb
children ab6d2763b8d8
comparison
equal deleted inserted replaced
18058:4ca97b26a8fb 18063:926ccb104da0
259 * Returns a list of all active connections. This does not 259 * Returns a list of all active connections. This does not
260 * include connections that are in the process of connecting. 260 * include connections that are in the process of connecting.
261 * 261 *
262 * @return A list of all active connections. 262 * @return A list of all active connections.
263 */ 263 */
264 const GList *purple_connections_get_all(void); 264 GList *purple_connections_get_all(void);
265 265
266 /** 266 /**
267 * Returns a list of all connections in the process of connecting. 267 * Returns a list of all connections in the process of connecting.
268 * 268 *
269 * @return A list of connecting connections. 269 * @return A list of connecting connections.
270 */ 270 */
271 const GList *purple_connections_get_connecting(void); 271 GList *purple_connections_get_connecting(void);
272 272
273 /** 273 /**
274 * Checks if gc is still a valid pointer to a gc. 274 * Checks if gc is still a valid pointer to a gc.
275 * 275 *
276 * @return @c TRUE if gc is valid. 276 * @return @c TRUE if gc is valid.
277 */ 277 */
278 /* 278 /*
279 * TODO: Eventually this bad boy will be removed, because it is 279 * TODO: Eventually this bad boy will be removed, because it is
280 * a gross fix for a crashy problem. 280 * a gross fix for a crashy problem.
281 */ 281 */
282 #define PURPLE_CONNECTION_IS_VALID(gc) (g_list_find((GList *)purple_connections_get_all(), (gc)) != NULL) 282 #define PURPLE_CONNECTION_IS_VALID(gc) (g_list_find(purple_connections_get_all(), (gc)) != NULL)
283 283
284 /*@}*/ 284 /*@}*/
285 285
286 /**************************************************************************/ 286 /**************************************************************************/
287 /** @name UI Registration Functions */ 287 /** @name UI Registration Functions */