libpurple/connection.h

changeset 37959
e76677ed819c
parent 37958
e03cbceed96a
child 37961
2ee4c67768f4
equal deleted inserted replaced
37958:e03cbceed96a 37959:e76677ed819c
522 */ 522 */
523 void 523 void
524 purple_connection_g_error(PurpleConnection *pc, 524 purple_connection_g_error(PurpleConnection *pc,
525 const GError *error); 525 const GError *error);
526 526
527 /*
528 * purple_connection_take_error
529 * @gc: Connection the error is associated with
530 * @error: (transfer full): Error information
531 *
532 * Closes a connection similar to purple_connection_error(), but
533 * takes a GError which is then converted to purple error codes.
534 *
535 * This function is equivalent to purple_connection_g_error(),
536 * except that it takes ownership of the GError.
537 */
538 void
539 purple_connection_take_error(PurpleConnection *pc,
540 GError *error);
541
527 /** 542 /**
528 * purple_connection_error_is_fatal: 543 * purple_connection_error_is_fatal:
529 * 544 *
530 * Reports whether a disconnection reason is fatal (in which case the account 545 * Reports whether a disconnection reason is fatal (in which case the account
531 * should probably not be automatically reconnected) or transient (so 546 * should probably not be automatically reconnected) or transient (so

mercurial