Mercurial > pidgin.yaz
comparison libpurple/account.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 | 72906c5ac037 |
comparison
equal
deleted
inserted
replaced
18117:cd81f8f36788 | 18118:ab6d2763b8d8 |
---|---|
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 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 |