comparison libpurple/connection.h @ 18118:ab6d2763b8d8

Re-fix the DBus list handling code by killing const GList* / const GSList* everywhere. Now we maintain a list of functions which return a GList or GSList which must not be freed. Ideally at some point this will be replaced with code that looks at the Doxygen comment for the function and honors @constreturn, which I've declared as a macro around @return that prints a @note about not modifying or freeing the returned value.
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:44:59 +0000
parents 926ccb104da0
children 033b128f7c21 3750e2e176cb
comparison
equal deleted inserted replaced
18117:cd81f8f36788 18118:ab6d2763b8d8
257 257
258 /** 258 /**
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 * @constreturn A list of all active connections.
263 */ 263 */
264 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 * @constreturn A list of connecting connections.
270 */ 270 */
271 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.