comparison src/connection.h @ 11718:11e95968c9ff

[gaim-migrate @ 14009] PRPLs are no longer required to call gaim_account_connect() and gaim_account_disconnect()--it is done in the core. Having the PRPLs do it was kind of silly. And this should allow me to improve the auto-reconnect plugin some. I think. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 Oct 2005 20:09:24 +0000
parents c80a609bd747
children 73777ad45562
comparison
equal deleted inserted replaced
11717:84d1145522c2 11718:11e95968c9ff
143 * @param gc The gaim connection to destroy. 143 * @param gc The gaim connection to destroy.
144 */ 144 */
145 void gaim_connection_destroy(GaimConnection *gc); 145 void gaim_connection_destroy(GaimConnection *gc);
146 146
147 /** 147 /**
148 * Sets the connection state. 148 * Sets the connection state. PRPLs should call this and pass in
149 * the state "GAIM_CONNECTED" when the account is completely
150 * signed on. What does it mean to be completely signed on? If
151 * the core can call prpl->set_status, and it successfully changes
152 * your status, then the account is online.
149 * 153 *
150 * @param gc The connection. 154 * @param gc The connection.
151 * @param state The connection state. 155 * @param state The connection state.
152 */ 156 */
153 void gaim_connection_set_state(GaimConnection *gc, GaimConnectionState state); 157 void gaim_connection_set_state(GaimConnection *gc, GaimConnectionState state);