D-Bus: Message bus APIs internals

D-Bus 1.10.10

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

Data Structures | Macros | Functions
Message bus APIs internals
D-Bus secret internal implementation details

Internals of functions for communicating with the message bus. More...

## Data Structures
struct | BusData
| Block of message-bus-related data we attach to each DBusConnection used with these convenience functions. More...

## Macros
#define | N_BUS_TYPES 3
| Number of bus types.

## Functions
void | _dbus_bus_notify_shared_connection_disconnected_unlocked (DBusConnection *connection)
| Internal function that checks to see if this is a shared connection owned by the bus and if it is unref it. More...

## Detailed Description

Internals of functions for communicating with the message bus.

## Function Documentation

void _dbus_bus_notify_shared_connection_disconnected_unlocked | ( | DBusConnection * | connection | ) |

Internal function that checks to see if this is a shared connection owned by the bus and if it is unref it.

Parameters

  connection | a connection that has been disconnected.

Definition at line 387 of file dbus-bus.c.

References _dbus_assert, _dbus_assert_not_reached, _dbus_connection_close_possibly_shared(), _DBUS_LOCK, _DBUS_UNLOCK, dbus_bus_register(), DBUS_BUS_STARTER, dbus_connection_open(), dbus_connection_open_private(), dbus_connection_ref(), dbus_connection_set_exit_on_disconnect(), dbus_connection_unref(), DBUS_ERROR_FAILED, dbus_set_error(), BusData::is_well_known, N_BUS_TYPES, NULL, and TRUE.

Referenced by dbus_connection_pop_message().