| 29 * SECTION:accounts |
29 * SECTION:accounts |
| 30 * @section_id: libpurple-accounts |
30 * @section_id: libpurple-accounts |
| 31 * @short_description: <filename>accounts.h</filename> |
31 * @short_description: <filename>accounts.h</filename> |
| 32 * @title: Accounts Subsystem API |
32 * @title: Accounts Subsystem API |
| 33 * @see_also: <link linkend="chapter-signals-account">Account signals</link> |
33 * @see_also: <link linkend="chapter-signals-account">Account signals</link> |
| |
34 * |
| |
35 * The accounts API is used to help manage #PurpleAccount's. |
| 34 */ |
36 */ |
| 35 |
37 |
| 36 #include "account.h" |
38 #include "account.h" |
| 37 #include "status.h" |
39 #include "status.h" |
| 38 |
40 |
| 55 * <sbr/>Returns: A UI-specific handle, as passed to |
57 * <sbr/>Returns: A UI-specific handle, as passed to |
| 56 * @close_account_request. |
58 * @close_account_request. |
| 57 * @close_account_request: Close a pending request for authorization. |
59 * @close_account_request: Close a pending request for authorization. |
| 58 * @ui_handle is a handle as returned by |
60 * @ui_handle is a handle as returned by |
| 59 * @request_authorize. |
61 * @request_authorize. |
| |
62 * @permit_added: Called during a call to purple_account_privacy_permit_add(). |
| |
63 * @permit_removed: Called during a call to |
| |
64 * purple_account_privacy_permit_removed(). |
| |
65 * @deny_added: Called during a call to purple_account_privacy_deny_add(). |
| |
66 * @deny_removed: Called during a call to |
| |
67 * purple_account_privacy_deny_removed(). |
| 60 * |
68 * |
| 61 * Account UI operations, used to notify the user of status changes and when |
69 * Account UI operations, used to notify the user of status changes and when |
| 62 * buddies add this account to their buddy lists. |
70 * buddies add this account to their buddy lists. |
| 63 */ |
71 */ |
| 64 struct _PurpleAccountUiOps |
72 struct _PurpleAccountUiOps |
| 94 void (*permit_removed)(PurpleAccount *account, const char *name); |
102 void (*permit_removed)(PurpleAccount *account, const char *name); |
| 95 void (*deny_added)(PurpleAccount *account, const char *name); |
103 void (*deny_added)(PurpleAccount *account, const char *name); |
| 96 void (*deny_removed)(PurpleAccount *account, const char *name); |
104 void (*deny_removed)(PurpleAccount *account, const char *name); |
| 97 |
105 |
| 98 /*< private >*/ |
106 /*< private >*/ |
| 99 void (*_purple_reserved1)(void); |
107 gpointer reserved[4]; |
| 100 void (*_purple_reserved2)(void); |
|
| 101 void (*_purple_reserved3)(void); |
|
| 102 void (*_purple_reserved4)(void); |
|
| 103 }; |
108 }; |
| 104 |
109 |
| 105 G_BEGIN_DECLS |
110 G_BEGIN_DECLS |
| 106 |
111 |
| 107 /**************************************************************************/ |
112 /**************************************************************************/ |