diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-09 17:57:09 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-09 17:57:09 +0000 |
commit | 4bac26fbcf785c3a438ac3b2c2edb1227a800023 (patch) | |
tree | def7373f622713fb89e30d96a3b3d6ab5dbbed55 /hcid/dbus.h | |
parent | 148aa53876853a637e5b94f3c6aae5fb2d788c90 (diff) |
Cleanup the error definitions and add some new ones
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r-- | hcid/dbus.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h index 5bcc0f65..99599210 100644 --- a/hcid/dbus.h +++ b/hcid/dbus.h @@ -87,9 +87,12 @@ DBusConnection *get_dbus_connection(void); int get_default_dev_id(void); -DBusMessage *error_generic(DBusMessage *msg, int err); +DBusMessage *error_failed(DBusMessage *msg, int err); +DBusMessage *error_invalid_arguments(DBusMessage *msg); +DBusMessage *error_not_authorized(DBusMessage *msg); DBusMessage *error_out_of_memory(DBusMessage *msg); -DBusMessage *error_no_such_device(DBusMessage *msg); +DBusMessage *error_no_such_adapter(DBusMessage *msg); +DBusMessage *error_unknown_address(DBusMessage *msg); /*======================================================================== BlueZ D-Bus Manager service definitions "/org/bluez/Manager" |