D-Bus 1.14.10
Data Fields

Internals of DBusCounter. More...

Data Fields

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

Detailed Description

Internals of DBusCounter.

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

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

Field Documentation

◆ mutex

DBusRMutex* DBusCounter::mutex

◆ notify_data

void* DBusCounter::notify_data

data for notify function

Definition at line 70 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 71 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 66 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 67 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 56 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 58 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 59 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: