register_error_domain


Description:

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

Helper function for associating a [type@GLib.

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

return location for the [type@GLib.Quark] representing the error domain

entries

items to register

num_entries

number of items to register