summaryrefslogtreecommitdiffstats
path: root/common/error.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-07 08:49:19 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-07 08:49:19 +0000
commit92faff9a094d5cbdfaa3c83f3fe17074a483ce55 (patch)
tree073142b4e37f963777577b9dc488d71178feda81 /common/error.h
parent295bd4a9d96be39cad5bb85e50b3b682c89d65aa (diff)
Cleanup errors and remove unused functions
Diffstat (limited to 'common/error.h')
-rw-r--r--common/error.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/common/error.h b/common/error.h
index a2492601..68ce105a 100644
--- a/common/error.h
+++ b/common/error.h
@@ -29,41 +29,13 @@
DBusMessage *create_errno_message(DBusMessage *msg, int err);
-DBusHandlerResult error_device_unreachable(DBusConnection *conn,
- DBusMessage *msg);
-
DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn,
DBusMessage *msg,
int err);
-DBusHandlerResult error_already_connected(DBusConnection *conn,
- DBusMessage *msg);
-
-DBusHandlerResult error_not_connected(DBusConnection *conn, DBusMessage *msg);
-
-DBusHandlerResult error_in_progress(DBusConnection *conn, DBusMessage *msg,
- const char *str);
-
-DBusHandlerResult error_invalid_arguments(DBusConnection *conn,
- DBusMessage *msg,
- const char *str);
-
-DBusHandlerResult error_out_of_memory(DBusConnection *conn, DBusMessage *msg);
-
-DBusHandlerResult error_not_available(DBusConnection *conn, DBusMessage *msg);
-
DBusHandlerResult error_not_supported(DBusConnection *conn,
DBusMessage *msg);
-DBusHandlerResult error_already_exists(DBusConnection *conn, DBusMessage *msg,
- const char *str);
-
-DBusHandlerResult error_does_not_exist(DBusConnection *conn, DBusMessage *msg,
- const char *str);
-
-DBusHandlerResult error_device_does_not_exist(DBusConnection *conn,
- DBusMessage *msg);
-
DBusHandlerResult error_canceled(DBusConnection *conn, DBusMessage *msg,
const char *str);
@@ -75,5 +47,3 @@ DBusHandlerResult error_failed_errno(DBusConnection *conn, DBusMessage *msg,
DBusHandlerResult error_common_reply(DBusConnection *conn, DBusMessage *msg,
const char *name, const char *descr);
-
-DBusHandlerResult error_unknown_method(DBusConnection *conn, DBusMessage *msg);