| 201 * @param user_data user data to pass to the callback |
201 * @param user_data user data to pass to the callback |
| 202 */ |
202 */ |
| 203 void _purple_connection_new_unregister(PurpleAccount *account, const char *password, |
203 void _purple_connection_new_unregister(PurpleAccount *account, const char *password, |
| 204 PurpleAccountUnregistrationCb cb, void *user_data); |
204 PurpleAccountUnregistrationCb cb, void *user_data); |
| 205 /** |
205 /** |
| 206 * Disconnects and destroys a PurpleConnection. |
206 * Checks if a connection is disconnecting, and should not attempt to reconnect. |
| 207 * |
207 * |
| 208 * @note This function should only be called by purple_account_disconnect() |
208 * @note This function should only be called by purple_account_set_enabled() |
| 209 * in account.c. If you're trying to sign off an account, use that |
209 * in account.c. |
| 210 * function instead. |
210 * |
| 211 * |
211 * @param gc The connection to check |
| 212 * @param gc The purple connection to destroy. |
212 */ |
| 213 */ |
213 gboolean _purple_connection_wants_to_die(const PurpleConnection *gc); |
| 214 void _purple_connection_destroy(PurpleConnection *gc); |
|
| 215 |
214 |
| 216 #endif /* _PURPLE_INTERNAL_H_ */ |
215 #endif /* _PURPLE_INTERNAL_H_ */ |