Method

PurpleConnectionset_state

Declaration [src]

void
purple_connection_set_state (
  PurpleConnection* gc,
  PurpleConnectionState state
)

Description [src]

Sets the connection state. Protocols should call this and pass in the state #PURPLE_CONNECTION_CONNECTED when the account is completely signed on. What does it mean to be completely signed on? If the core can call protocol’s set_status, and it successfully changes your status, then the account is online.

Parameters

state PurpleConnectionState
 

The connection state.