24#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
25#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
31#include <dbus/dbus-macros.h>
32#include <dbus/dbus-types.h>
33#include <dbus/dbus-protocol.h>
62#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }
72 ...) _DBUS_GNUC_PRINTF (3, 4);
void dbus_move_error(DBusError *src, DBusError *dest)
Moves an error src into dest, freeing src and overwriting dest.
void dbus_set_error_const(DBusError *error, const char *name, const char *message)
Assigns an error name and message to a DBusError.
dbus_bool_t dbus_error_has_name(const DBusError *error, const char *name)
Checks whether the error is set and has the given name.
void dbus_error_init(DBusError *error)
Initializes a DBusError structure.
void dbus_set_error(DBusError *error, const char *name, const char *format,...)
Assigns an error name and message to a DBusError.
void dbus_error_free(DBusError *error)
Frees an error that's been set (or just initialized), then reinitializes the error as in dbus_error_i...
dbus_bool_t dbus_error_is_set(const DBusError *error)
Checks whether an error occurred (the error is set).
#define DBUS_BEGIN_DECLS
Macro used prior to declaring functions in the D-Bus header files.
#define DBUS_END_DECLS
Macro used after declaring functions in the D-Bus header files.
dbus_uint32_t dbus_bool_t
A boolean, valid values are TRUE and FALSE.
Object representing an exception.
const char * name
public error name field
unsigned int dummy2
placeholder
unsigned int dummy4
placeholder
unsigned int dummy3
placeholder
unsigned int dummy5
placeholder
unsigned int dummy1
placeholder
void * padding1
placeholder
const char * message
public error message field