D-Bus 1.15.12
Data Fields

Internals of DBusCounter. More...

Data Fields

int refcount
 reference count
 
long size_value
 current size counter value
 
long unix_fd_value
 current unix fd counter value
 
long notify_size_guard_value
 call notify function when crossing this size value
 
long notify_unix_fd_guard_value
 call notify function when crossing this unix fd value
 
DBusCounterNotifyFunction notify_function
 notify function
 
void * notify_data
 data for notify function
 
dbus_bool_t notify_pending: 1
 TRUE if the guard value has been crossed.
 
DBusRMutexmutex
 Lock on the entire DBusCounter.
 

Detailed Description

Internals of DBusCounter.

DBusCounter internals. DBusCounter is an opaque object, it must be used via accessor functions.

Definition at line 56 of file dbus-resources.c.

Field Documentation

◆ mutex

DBusRMutex* DBusCounter::mutex

◆ notify_data

void* DBusCounter::notify_data

data for notify function

Definition at line 72 of file dbus-resources.c.

Referenced by _dbus_counter_notify(), and _dbus_counter_set_notify().

◆ notify_function

DBusCounterNotifyFunction DBusCounter::notify_function

◆ notify_pending

dbus_bool_t DBusCounter::notify_pending

TRUE if the guard value has been crossed.

Definition at line 73 of file dbus-resources.c.

Referenced by _dbus_counter_adjust_size(), _dbus_counter_adjust_unix_fd(), _dbus_counter_notify(), and _dbus_counter_set_notify().

◆ notify_size_guard_value

long DBusCounter::notify_size_guard_value

call notify function when crossing this size value

Definition at line 68 of file dbus-resources.c.

Referenced by _dbus_counter_adjust_size(), and _dbus_counter_set_notify().

◆ notify_unix_fd_guard_value

long DBusCounter::notify_unix_fd_guard_value

call notify function when crossing this unix fd value

Definition at line 69 of file dbus-resources.c.

Referenced by _dbus_counter_adjust_unix_fd(), and _dbus_counter_set_notify().

◆ refcount

int DBusCounter::refcount

reference count

Definition at line 58 of file dbus-resources.c.

Referenced by _dbus_counter_new(), _dbus_counter_ref(), and _dbus_counter_unref().

◆ size_value

long DBusCounter::size_value

current size counter value

Definition at line 60 of file dbus-resources.c.

Referenced by _dbus_counter_adjust_size(), and _dbus_counter_get_size_value().

◆ unix_fd_value

long DBusCounter::unix_fd_value

current unix fd counter value

Definition at line 61 of file dbus-resources.c.

Referenced by _dbus_counter_adjust_unix_fd(), and _dbus_counter_get_unix_fd_value().


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