DBusError.registerErrorDomain

void registerErrorDomain(string errorDomainQuarkName, out size_t quarkVolatile, gio.dbus_error_entry.DBusErrorEntry[] entries)

Helper function for associating a #GError 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

errorDomainQuarkNameThe error domain name.
quarkVolatileA pointer where to store the #GQuark.
entriesA pointer to num_entries #GDBusErrorEntry struct items.