| 375 */ |
375 */ |
| 376 #define PURPLE_CONNECTION_IS_CONNECTED(gc) \ |
376 #define PURPLE_CONNECTION_IS_CONNECTED(gc) \ |
| 377 (purple_connection_get_state(gc) == PURPLE_CONNECTION_CONNECTED) |
377 (purple_connection_get_state(gc) == PURPLE_CONNECTION_CONNECTED) |
| 378 |
378 |
| 379 /** |
379 /** |
| |
380 * purple_connection_is_disconnecting: |
| |
381 * @param gc The connection. |
| |
382 * |
| |
383 * Checks, if connection is in disconnecting state. |
| |
384 * |
| |
385 * Returns: %TRUE, if the account is disconnecting. |
| |
386 */ |
| |
387 gboolean |
| |
388 purple_connection_is_disconnecting(const PurpleConnection *gc); |
| |
389 |
| |
390 /** |
| 380 * purple_connection_get_account: |
391 * purple_connection_get_account: |
| 381 * @gc: The connection. |
392 * @gc: The connection. |
| 382 * |
393 * |
| 383 * Returns the connection's account. |
394 * Returns the connection's account. |
| 384 * |
395 * |