| 37 G_BEGIN_DECLS |
37 G_BEGIN_DECLS |
| 38 |
38 |
| 39 /**************************************************************************/ |
39 /**************************************************************************/ |
| 40 /* Protocol API */ |
40 /* Protocol API */ |
| 41 /**************************************************************************/ |
41 /**************************************************************************/ |
| 42 |
|
| 43 /** |
|
| 44 * purple_protocol_got_account_idle: |
|
| 45 * @account: The account. |
|
| 46 * @idle: The user's idle state. |
|
| 47 * @idle_time: The user's idle time. |
|
| 48 * |
|
| 49 * Notifies Purple that our account's idle state and time have changed. |
|
| 50 * |
|
| 51 * This is meant to be called from protocols. |
|
| 52 */ |
|
| 53 void purple_protocol_got_account_idle(PurpleAccount *account, gboolean idle, |
|
| 54 time_t idle_time); |
|
| 55 |
|
| 56 /** |
|
| 57 * purple_protocol_got_account_status: |
|
| 58 * @account: The account the user is on. |
|
| 59 * @status_id: The status ID. |
|
| 60 * @...: A NULL-terminated list of attribute IDs and values. |
|
| 61 * |
|
| 62 * Notifies Purple that our account's status has changed. |
|
| 63 * |
|
| 64 * This is meant to be called from protocols. |
|
| 65 */ |
|
| 66 void purple_protocol_got_account_status(PurpleAccount *account, |
|
| 67 const char *status_id, ...) |
|
| 68 G_GNUC_NULL_TERMINATED; |
|
| 69 |
|
| 70 /** |
|
| 71 * purple_protocol_got_account_status_with_attributes: (rename-to purple_protocol_got_account_status): |
|
| 72 * @account: The account the user is on. |
|
| 73 * @status_id: The status ID. |
|
| 74 * @attributes: (element-type utf8 gpointer): A hash table of attribute IDs and |
|
| 75 * their corresponding values. |
|
| 76 * |
|
| 77 * Notifies Purple that our account's status has changed. |
|
| 78 * |
|
| 79 * This is meant to be called from protocols. |
|
| 80 * |
|
| 81 * Since: 3.0.0 |
|
| 82 */ |
|
| 83 void purple_protocol_got_account_status_with_attributes(PurpleAccount *account, const gchar *status_id, GHashTable *attributes); |
|
| 84 |
42 |
| 85 /** |
43 /** |
| 86 * purple_protocol_got_account_actions: |
44 * purple_protocol_got_account_actions: |
| 87 * @account: The account. |
45 * @account: The account. |
| 88 * |
46 * |