register_error_domain


Description:

public static void register_error_domain (string error_domain_quark_name, size_t quark_volatile, DBusErrorEntry[] entries)

Helper function for associating a Error error domain with D-Bus error names.

While quark_volatile has a `volatile` qualifier, this is a historical artifact and the argument passed to it should not be `volatile`.

Parameters:

error_domain_quark_name

The error domain name.

quark_volatile

A pointer where to store the Quark.

entries

A pointer to entries.length DBusErrorEntry struct items.

num_entries

Number of items to register.