comparison libpurple/connection.h @ 25877:1260a3fb60f4

propagate from branch 'im.pidgin.pidgin' (head b8d6086aef6b2e65d86e8ce60220ab7f460d5079) to branch 'im.pidgin.pidgin.next.minor' (head c165595260a2efa0ca23704ada46a303e0412e19)
author Richard Laager <rlaager@wiktel.com>
date Fri, 12 Dec 2008 20:03:58 +0000
parents da46097b4722 d8452c0bec7b
children d25cbbea7fe5
comparison
equal deleted inserted replaced
24710:d1d9d085d626 25877:1260a3fb60f4
352 * @param name The displayed name. 352 * @param name The displayed name.
353 */ 353 */
354 void purple_connection_set_display_name(PurpleConnection *gc, const char *name); 354 void purple_connection_set_display_name(PurpleConnection *gc, const char *name);
355 355
356 /** 356 /**
357 * Sets the protocol data for a connection.
358 *
359 * @param connection The PurpleConnection.
360 * @param proto_data The protocol data to set for the connection.
361 * @since 2.6.0
362 */
363 void purple_connection_set_protocol_data(PurpleConnection *connection, void *proto_data);
364
365 /**
357 * Returns the connection state. 366 * Returns the connection state.
358 * 367 *
359 * @param gc The connection. 368 * @param gc The connection.
360 * 369 *
361 * @return The connection state. 370 * @return The connection state.
404 * @param gc The connection. 413 * @param gc The connection.
405 * 414 *
406 * @return The connection's displayed name. 415 * @return The connection's displayed name.
407 */ 416 */
408 const char *purple_connection_get_display_name(const PurpleConnection *gc); 417 const char *purple_connection_get_display_name(const PurpleConnection *gc);
418
419 /**
420 * Gets the protocol data from a connection.
421 *
422 * @param connection The PurpleConnection.
423 *
424 * @return The protocol data for the connection.
425 * @since 2.6.0
426 */
427 void *purple_connection_get_protocol_data(const PurpleConnection *connection);
409 428
410 /** 429 /**
411 * Updates the connection progress. 430 * Updates the connection progress.
412 * 431 *
413 * @param gc The connection. 432 * @param gc The connection.