| 628 * @return The connection. |
628 * @return The connection. |
| 629 */ |
629 */ |
| 630 PurpleConnection *purple_account_get_connection(const PurpleAccount *account); |
630 PurpleConnection *purple_account_get_connection(const PurpleAccount *account); |
| 631 |
631 |
| 632 /** |
632 /** |
| 633 * Returns a name for this account appropriate for display to the user. In |
|
| 634 * order of preference: the account's alias; the contact or buddy alias (if |
|
| 635 * the account exists on its own buddy list); the connection's display name; |
|
| 636 * the account's username. |
|
| 637 * |
|
| 638 * @param account The account. |
|
| 639 * |
|
| 640 * @return The name to display. |
|
| 641 * |
|
| 642 * @since 2.6.0 |
|
| 643 */ |
|
| 644 const gchar *purple_account_get_name_for_display(const PurpleAccount *account); |
|
| 645 |
|
| 646 /** |
|
| 647 * Returns whether or not this account should save its password. |
633 * Returns whether or not this account should save its password. |
| 648 * |
634 * |
| 649 * @param account The account. |
635 * @param account The account. |
| 650 * |
636 * |
| 651 * @return @c TRUE if it should remember the password. |
637 * @return @c TRUE if it should remember the password. |