DBusTimeout Struct Reference
D-Bus secret internal implementation details » DBusTimeout implementation details

Internals of DBusTimeout. More...

## Data Fields

int | refcount
| Reference count.
int | interval
| Timeout interval in milliseconds.
DBusTimeoutHandler | handler
| Timeout handler.
void * | handler_data
| Timeout handler data.
DBusFreeFunction | free_handler_data_function
| Free the timeout handler data.
void * | data
| Application data.
DBusFreeFunction | free_data_function
| Free the application data.
unsigned int | enabled: 1
| True if timeout is active.
unsigned int | needs_restart: 1
| Flag that timeout should be restarted after re-enabling.

## Detailed Description

Internals of DBusTimeout.

Definition at line 42 of file dbus-timeout.c.

## Field Documentation

## data

void* DBusTimeout::data

Application data.

Definition at line 51 of file dbus-timeout.c.

Referenced by dbus_timeout_get_data(), and dbus_timeout_set_data().

## enabled

unsigned int DBusTimeout::enabled

True if timeout is active.

Definition at line 53 of file dbus-timeout.c.

Referenced by _dbus_timeout_disable(), _dbus_timeout_list_toggle_timeout(), _dbus_timeout_new(), _dbus_timeout_restart(), and dbus_timeout_get_enabled().

## free_data_function

DBusFreeFunction DBusTimeout::free_data_function

Free the application data.

Definition at line 52 of file dbus-timeout.c.

Referenced by dbus_timeout_set_data().

## free_handler_data_function

DBusFreeFunction DBusTimeout::free_handler_data_function

Free the timeout handler data.

Definition at line 49 of file dbus-timeout.c.

Referenced by _dbus_timeout_new(), and _dbus_timeout_unref().

## handler

DBusTimeoutHandler DBusTimeout::handler

Timeout handler.

Definition at line 47 of file dbus-timeout.c.

Referenced by _dbus_timeout_new(), and dbus_timeout_handle().

## handler_data

void* DBusTimeout::handler_data

Timeout handler data.

Definition at line 48 of file dbus-timeout.c.

Referenced by _dbus_timeout_new(), _dbus_timeout_unref(), and dbus_timeout_handle().

## interval

int DBusTimeout::interval

Timeout interval in milliseconds.

Definition at line 45 of file dbus-timeout.c.

Referenced by _dbus_timeout_new(), _dbus_timeout_restart(), and dbus_timeout_get_interval().

## needs_restart

unsigned int DBusTimeout::needs_restart

Flag that timeout should be restarted after re-enabling.

Definition at line 54 of file dbus-timeout.c.

Referenced by _dbus_timeout_needs_restart(), _dbus_timeout_new(), _dbus_timeout_restart(), and _dbus_timeout_restarted().

## refcount

int DBusTimeout::refcount

Reference count.

Definition at line 44 of file dbus-timeout.c.

Referenced by _dbus_timeout_new(), _dbus_timeout_ref(), and _dbus_timeout_unref().

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

- dbus-timeout.c