summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-errors.h')
-rw-r--r--dbus/dbus-errors.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dbus/dbus-errors.h b/dbus/dbus-errors.h
index 639c6a70..5cc77491 100644
--- a/dbus/dbus-errors.h
+++ b/dbus/dbus-errors.h
@@ -49,6 +49,10 @@ struct DBusError
void *padding1; /**< placeholder */
};
+#define DBUS_ERROR_SPAWN_FORK_FAILED "org.freedesktop.DBus.Error.Spawn.ForkFailed"
+#define DBUS_ERROR_SPAWN_FAILED "org.freedesktop.DBus.Error.Spawn.Failed"
+#define DBUS_ERROR_NO_MEMORY "org.freedesktop.DBus.Error.NoMemory"
+
typedef enum
{
DBUS_RESULT_SUCCESS, /**< Operation was successful. */
@@ -75,7 +79,7 @@ typedef enum
void dbus_error_init (DBusError *error);
void dbus_error_free (DBusError *error);
-dbus_bool_t dbus_set_error (DBusError *error,
+void dbus_set_error (DBusError *error,
const char *name,
const char *message,
...);