_PurpleConnection Struct Reference
Collaboration diagram for _PurpleConnection:
Collaboration graph

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 245 of file connection.h.

Field Documentation

PurpleAccount* _PurpleConnection::account

The account being connected to.

Definition at line 252 of file connection.h.

GSList* _PurpleConnection::buddy_chats

A list of active chats (PurpleConversation structs of type PURPLE_CONV_TYPE_CHAT).

Definition at line 256 of file connection.h.

char* _PurpleConnection::display_name

How you appear to other people.

Definition at line 261 of file connection.h.

PurpleConnectionFlags _PurpleConnection::flags

Connection flags.

Definition at line 248 of file connection.h.

int _PurpleConnection::inpa

The input watcher.

Definition at line 254 of file connection.h.

guint _PurpleConnection::keepalive

Keep-alive.

Definition at line 262 of file connection.h.

time_t _PurpleConnection::last_received

When we last received a packet.

Set by the prpl to avoid sending unneeded keepalives

Definition at line 274 of file connection.h.

char* _PurpleConnection::password

The password used.

Definition at line 253 of file connection.h.

void* _PurpleConnection::proto_data

Protocol-specific data.

Definition at line 259 of file connection.h.

PurplePlugin* _PurpleConnection::prpl

The protocol plugin.

Definition at line 247 of file connection.h.

PurpleConnectionState _PurpleConnection::state

The connection state.

Definition at line 250 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 271 of file connection.h.


The documentation for this struct was generated from the following file:
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!