DBusTransport Struct Reference

struct DBusTransport

Object representing a transport such as a socket. A transport can shuttle messages from point A to point B, and is the backend for a DBusConnection.

Member Data Documentation

char * address

char *address

Address of the server we are connecting to (NULL for the server side of a transport)

DBusAuth * auth

DBusAuth *auth

Authentication conversation

unsigned int authenticated

unsigned intauthenticated

Cache of auth state; use _dbus_transport_get_is_authenticated() to query value

DBusConnection * connection

DBusConnection *connection

Connection owning this transport.

DBusCredentials credentials

DBusCredentials credentials

Credentials of other end

unsigned int disconnected

unsigned intdisconnected

TRUE if we are disconnected.

char * expected_guid

char *expected_guid

GUID we expect the server to have, NULL on server side or if we don't have an expectation

DBusFreeFunction free_unix_user_data

DBusFreeFunction free_unix_user_data

Function to free unix_user_data

unsigned int is_server

unsigned intis_server

TRUE if on the server side

DBusCounter * live_messages_size

DBusCounter *live_messages_size

Counter for size of all live messages.

DBusMessageLoader * loader

DBusMessageLoader *loader

Message-loading buffer.

long max_live_messages_size

longmax_live_messages_size

Max total size of received messages.

unsigned int receive_credentials_pending

unsigned intreceive_credentials_pending

TRUE if we need to receive credentials

int refcount

intrefcount

Reference count.

unsigned int send_credentials_pending

unsigned intsend_credentials_pending

TRUE if we need to send credentials

void * unix_user_data

void *unix_user_data

Data for unix_user_function

DBusAllowUnixUserFunction unix_user_function

DBusAllowUnixUserFunction unix_user_function

Function for checking whether a user is authorized.

unsigned int unused_bytes_recovered

unsigned intunused_bytes_recovered

TRUE if we've recovered unused bytes from auth

const DBusTransportVTable * vtable

const DBusTransportVTable *vtable

Virtual methods for this instance.