_PurpleConnection Struct Reference


Data Fields

PurplePluginprpl
 The protocol plugin.
PurpleConnectionFlags flags
 Connection flags.
PurpleConnectionState state
 The connection state.
PurpleAccountaccount
 The account being connected to.
char * password
 The password used.
int inpa
 The input watcher.
GSList * buddy_chats
 A list of active chats (PurpleConversation structs of type PURPLE_CONV_TYPE_CHAT).
void * proto_data
 Protocol-specific data.
char * display_name
 How you appear to other people.
guint keepalive
 Keep-alive.
gboolean wants_to_die
 Wants to Die state.
guint disconnect_timeout
 Timer used for nasty stack tricks.
time_t last_received
 When we last received a packet.

Detailed Description

Definition at line 229 of file connection.h.


Field Documentation

time_t _PurpleConnection::last_received

When we last received a packet.

Set by the prpl to avoid sending unneeded keepalives

Definition at line 258 of file connection.h.

gboolean _PurpleConnection::wants_to_die

Wants to Die state.

This is set when the user chooses to log out, or when the protocol is disconnected and should not be automatically reconnected (incorrect password, etc.). prpls should rely on purple_connection_error_reason() to set this for them rather than setting it themselves.

See also:
purple_connection_error_is_fatal

Definition at line 255 of file connection.h.


The documentation for this struct was generated from the following file: