Mercurial > pidgin
comparison libpurple/connection.h @ 25790:9ded0fb57e1c
Added purple_connection_set_protocol_data and purple_connection_get_protocol_data
Also update libpurple/connection.c to actually compile with the structs hidden
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Fri, 31 Oct 2008 01:05:33 +0000 |
parents | 85fc34efe733 |
children | d719b9d82540 |
comparison
equal
deleted
inserted
replaced
25789:ea7eb09389dc | 25790:9ded0fb57e1c |
---|---|
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 */ | |
362 void purple_connection_set_protocol_data(PurpleConnection *connection, void *proto_data); | |
363 | |
364 /** | |
357 * Returns the connection state. | 365 * Returns the connection state. |
358 * | 366 * |
359 * @param gc The connection. | 367 * @param gc The connection. |
360 * | 368 * |
361 * @return The connection state. | 369 * @return The connection state. |
404 * @param gc The connection. | 412 * @param gc The connection. |
405 * | 413 * |
406 * @return The connection's displayed name. | 414 * @return The connection's displayed name. |
407 */ | 415 */ |
408 const char *purple_connection_get_display_name(const PurpleConnection *gc); | 416 const char *purple_connection_get_display_name(const PurpleConnection *gc); |
417 | |
418 /** | |
419 * Gets the protocol data from a connection. | |
420 * | |
421 * @param connection The PurpleConnection. | |
422 * | |
423 * @return The protocol data for the connection. | |
424 */ | |
425 void *purple_connection_get_protocol_data(const PurpleConnection *connection); | |
409 | 426 |
410 /** | 427 /** |
411 * Updates the connection progress. | 428 * Updates the connection progress. |
412 * | 429 * |
413 * @param gc The connection. | 430 * @param gc The connection. |