D-Bus 1.15.2
Data Fields

Struct representing a single registered subtree handler, or node that's a parent of a registered subtree handler. More...

Data Fields

DBusAtomic refcount
 Reference count. More...
 
DBusObjectSubtreeparent
 Parent node. More...
 
DBusObjectPathUnregisterFunction unregister_function
 Function to call on unregister. More...
 
DBusObjectPathMessageFunction message_function
 Function to handle messages. More...
 
void * user_data
 Data for functions. More...
 
DBusObjectSubtree ** subtrees
 Child nodes. More...
 
int n_subtrees
 Number of child nodes. More...
 
int max_subtrees
 Number of allocated entries in subtrees. More...
 
unsigned int invoke_as_fallback: 1
 Whether to invoke message_function when child nodes don't handle the message. More...
 
char name [1]
 Allocated as large as necessary. More...
 

Detailed Description

Struct representing a single registered subtree handler, or node that's a parent of a registered subtree handler.

If message_function != NULL there's actually a handler at this node.

Definition at line 71 of file dbus-object-tree.c.

Field Documentation

◆ invoke_as_fallback

unsigned int DBusObjectSubtree::invoke_as_fallback

Whether to invoke message_function when child nodes don't handle the message.

Definition at line 81 of file dbus-object-tree.c.

◆ max_subtrees

int DBusObjectSubtree::max_subtrees

Number of allocated entries in subtrees.

Definition at line 80 of file dbus-object-tree.c.

◆ message_function

DBusObjectPathMessageFunction DBusObjectSubtree::message_function

Function to handle messages.

Definition at line 76 of file dbus-object-tree.c.

◆ n_subtrees

int DBusObjectSubtree::n_subtrees

Number of child nodes.

Definition at line 79 of file dbus-object-tree.c.

◆ name

char DBusObjectSubtree::name[1]

Allocated as large as necessary.

Definition at line 82 of file dbus-object-tree.c.

◆ parent

DBusObjectSubtree* DBusObjectSubtree::parent

Parent node.

Definition at line 74 of file dbus-object-tree.c.

◆ refcount

DBusAtomic DBusObjectSubtree::refcount

Reference count.

Definition at line 73 of file dbus-object-tree.c.

◆ subtrees

DBusObjectSubtree** DBusObjectSubtree::subtrees

Child nodes.

Definition at line 78 of file dbus-object-tree.c.

◆ unregister_function

DBusObjectPathUnregisterFunction DBusObjectSubtree::unregister_function

Function to call on unregister.

Definition at line 75 of file dbus-object-tree.c.

◆ user_data

void* DBusObjectSubtree::user_data

Data for functions.

Definition at line 77 of file dbus-object-tree.c.


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