libpurple/account.h

branch
soc.2013.gobjectification
changeset 34582
67a520874aa9
parent 34581
b4e0236019e6
child 34588
1379416703af
--- a/libpurple/account.h	Wed Jun 19 01:40:28 2013 +0530
+++ b/libpurple/account.h	Wed Jun 19 15:34:57 2013 +0530
@@ -1137,6 +1137,17 @@
 gboolean purple_account_supports_offline_message(PurpleAccount *account, PurpleBuddy *buddy);
 
 /**
+ * Sets the error that caused the account to be disconnected.
+ * You should not ever need to call this function directly, the error is set
+ * by the accouts subsystem. You should only need to retrieve this error.
+ *
+ * @param account The account whose error should be set.
+ * @param new_err The new error.
+ */
+void purple_account_set_current_error(PurpleAccount *account,
+									PurpleConnectionErrorInfo *new_err);
+
+/**
  * Get the error that caused the account to be disconnected, or @c NULL if the
  * account is happily connected or disconnected without an error.
  *

mercurial