comparison libpurple/account.h @ 19114:6de2e9ba0930

merge of '2970edca111b3535ae0703e3c866ad1c3b87df94' and 'a2b508e8680ac3f20965226a5dd83f7e2a3b15bb'
author Eric Polino <aluink@pidgin.im>
date Sun, 24 Jun 2007 02:56:09 +0000
parents 72906c5ac037
children af15bece7097 5c1ed6296b56 8007c107054b
comparison
equal deleted inserted replaced
19102:7f26e5b98b15 19114:6de2e9ba0930
367 * @param active The active state. 367 * @param active The active state.
368 * @param ... Pairs of attributes for the new status passed in 368 * @param ... Pairs of attributes for the new status passed in
369 * as a NULL-terminated list of id/value pairs. 369 * as a NULL-terminated list of id/value pairs.
370 */ 370 */
371 void purple_account_set_status(PurpleAccount *account, const char *status_id, 371 void purple_account_set_status(PurpleAccount *account, const char *status_id,
372 gboolean active, ...); 372 gboolean active, ...) G_GNUC_NULL_TERMINATED;
373 373
374 374
375 /** 375 /**
376 * Activates or deactivates a status. All changes to the statuses of 376 * Activates or deactivates a status. All changes to the statuses of
377 * an account go through this function or purple_account_set_status. 377 * an account go through this function or purple_account_set_status.
670 /** 670 /**
671 * Returns the account's status types. 671 * Returns the account's status types.
672 * 672 *
673 * @param account The account. 673 * @param account The account.
674 * 674 *
675 * @return The account's status types. 675 * @constreturn The account's status types.
676 */ 676 */
677 const GList *purple_account_get_status_types(const PurpleAccount *account); 677 GList *purple_account_get_status_types(const PurpleAccount *account);
678 678
679 /** 679 /**
680 * Returns a protocol-specific integer setting for an account. 680 * Returns a protocol-specific integer setting for an account.
681 * 681 *
682 * @param account The account. 682 * @param account The account.
882 void purple_accounts_reorder(PurpleAccount *account, gint new_index); 882 void purple_accounts_reorder(PurpleAccount *account, gint new_index);
883 883
884 /** 884 /**
885 * Returns a list of all accounts. 885 * Returns a list of all accounts.
886 * 886 *
887 * @return A list of all accounts. 887 * @constreturn A list of all accounts.
888 */ 888 */
889 const GList *purple_accounts_get_all(void); 889 GList *purple_accounts_get_all(void);
890 890
891 /** 891 /**
892 * Returns a list of all enabled accounts 892 * Returns a list of all enabled accounts
893 * 893 *
894 * @return A list of all enabled accounts. The list is owned 894 * @return A list of all enabled accounts. The list is owned