comparison libpurple/connection.h @ 18703:033b128f7c21

Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
author Andreas Monitzer <pidgin@monitzer.com>
date Mon, 30 Jul 2007 00:01:08 +0000
parents ab6d2763b8d8
children 2a9d60d7af82
comparison
equal deleted inserted replaced
18702:413103ddeaac 18703:033b128f7c21
132 */ 132 */
133 void purple_connection_new(PurpleAccount *account, gboolean regist, 133 void purple_connection_new(PurpleAccount *account, gboolean regist,
134 const char *password); 134 const char *password);
135 135
136 /** 136 /**
137 * This function should only be called by purple_account_unregister()
138 * in account.c.
139 *
140 * Tries to unregister the account on the server. If the account is not
141 * connected, also creates a new connection.
142 *
143 * @param account The account to unregister
144 * @param password The password to use.
145 */
146 void purple_connection_new_unregister(PurpleAccount *account, const char *password);
147
148 /**
137 * Disconnects and destroys a PurpleConnection. 149 * Disconnects and destroys a PurpleConnection.
138 * 150 *
139 * This function should only be called by purple_account_disconnect() 151 * This function should only be called by purple_account_disconnect()
140 * in account.c. If you're trying to sign off an account, use that 152 * in account.c. If you're trying to sign off an account, use that
141 * function instead. 153 * function instead.