23#ifndef __G_DBUS_ERROR_H__
24#define __G_DBUS_ERROR_H__
26#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
27#error "Only <gio/gio.h> can be included directly."
48#define G_DBUS_ERROR g_dbus_error_quark()
79 const gchar *dbus_error_name);
83 const gchar *dbus_error_name);
86 volatile gsize *quark_volatile,
93 const gchar *dbus_error_message);
96 const gchar *dbus_error_name,
97 const gchar *dbus_error_message,
102 const
gchar *dbus_error_name,
103 const
gchar *dbus_error_message,
GIO_AVAILABLE_IN_ALL gboolean g_dbus_error_register_error(GQuark error_domain, gint error_code, const gchar *dbus_error_name)
GIO_AVAILABLE_IN_ALL GError * g_dbus_error_new_for_dbus_error(const gchar *dbus_error_name, const gchar *dbus_error_message)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_error_strip_remote_error(GError *error)
GIO_AVAILABLE_IN_ALL void g_dbus_error_set_dbus_error(GError **error, const gchar *dbus_error_name, const gchar *dbus_error_message, const gchar *format,...) G_GNUC_PRINTF(4
GIO_AVAILABLE_IN_ALL void g_dbus_error_register_error_domain(const gchar *error_domain_quark_name, volatile gsize *quark_volatile, const GDBusErrorEntry *entries, guint num_entries)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_error_unregister_error(GQuark error_domain, gint error_code, const gchar *dbus_error_name)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_error_is_remote_error(const GError *error)
GIO_AVAILABLE_IN_ALL GQuark g_dbus_error_quark(void)
GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void g_dbus_error_set_dbus_error_valist(GError **error, const gchar *dbus_error_name, const gchar *dbus_error_message, const gchar *format, va_list var_args) G_GNUC_PRINTF(4
GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL void GIO_AVAILABLE_IN_ALL gchar * g_dbus_error_encode_gerror(const GError *error)
GIO_AVAILABLE_IN_ALL gchar * g_dbus_error_get_remote_error(const GError *error)
#define GIO_AVAILABLE_IN_ALL
#define G_GNUC_PRINTF(format_idx, arg_idx)
G_BEGIN_DECLS typedef guint32 GQuark
G_BEGIN_DECLS typedef char gchar
json_t format(printf, 1, 2)))
static void error(LoadState *S, const char *why)
const gchar * dbus_error_name