Method

PurpleConnectionset_state

since: 2.0

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.

Available since: 2.0

Parameters

state

Type: PurpleConnectionState

The connection state.