summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-06-03 16:35:10 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-06-03 16:35:10 +0000
commit83e66f3aef8b1d298ca9033d0f53337c88417c37 (patch)
tree5d2b9ffe98bdab278e19fd6cb754a549da6f968e /hcid
parent90d134ee47ec0833043c1e181bfd7189641edee3 (diff)
Removed unused errors
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-error.c35
-rw-r--r--hcid/dbus-error.h7
2 files changed, 0 insertions, 42 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index b08cf33b..3a31a320 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -93,21 +93,11 @@ DBusHandlerResult error_not_in_progress(DBusConnection *conn, DBusMessage *msg,
dbus_message_new_error(msg, ERROR_INTERFACE ".NotInProgress", str));
}
-DBusHandlerResult error_bonding_already_exists(DBusConnection *conn, DBusMessage *msg)
-{
- return error_already_exists(conn, msg, "Bonding already exists");
-}
-
DBusHandlerResult error_bonding_does_not_exist(DBusConnection *conn, DBusMessage *msg)
{
return error_does_not_exist(conn, msg, "Bonding does not exist");
}
-DBusHandlerResult error_bonding_in_progress(DBusConnection *conn, DBusMessage *msg)
-{
- return error_in_progress(conn, msg, "Bonding in progress");
-}
-
DBusHandlerResult error_bonding_not_in_progress(DBusConnection *conn, DBusMessage *msg)
{
return error_not_in_progress(conn, msg, "Bonding is not in progress");
@@ -120,31 +110,11 @@ DBusHandlerResult error_authentication_canceled(DBusConnection *conn, DBusMessag
"Authentication Canceled"));
}
-DBusHandlerResult error_discover_in_progress(DBusConnection *conn, DBusMessage *msg)
-{
- return error_in_progress(conn, msg, "Discover in progress");
-}
-
DBusHandlerResult error_record_does_not_exist(DBusConnection *conn, DBusMessage *msg)
{
return error_does_not_exist(conn, msg, "Record does not exist");
}
-DBusHandlerResult error_passkey_agent_already_exists(DBusConnection *conn, DBusMessage *msg)
-{
- return error_already_exists(conn, msg, "Passkey agent already exists");
-}
-
-DBusHandlerResult error_passkey_agent_does_not_exist(DBusConnection *conn, DBusMessage *msg)
-{
- return error_does_not_exist(conn, msg, "Passkey agent does not exist");
-}
-
-DBusHandlerResult error_auth_agent_already_exists(DBusConnection *conn, DBusMessage *msg)
-{
- return error_already_exists(conn, msg, "Authorization agent already exists");
-}
-
DBusHandlerResult error_auth_agent_does_not_exist(DBusConnection *conn, DBusMessage *msg)
{
return error_does_not_exist(conn, msg, "Authorization agent does not exist");
@@ -160,11 +130,6 @@ DBusHandlerResult error_service_search_in_progress(DBusConnection *conn, DBusMes
return error_in_progress(conn, msg, "Service search in progress");
}
-DBusHandlerResult error_audit_already_exists(DBusConnection *conn, DBusMessage *msg)
-{
- return error_already_exists(conn, msg, "Audit already performed");
-}
-
DBusHandlerResult error_disconnect_in_progress(DBusConnection *conn, DBusMessage *msg)
{
return error_in_progress(conn, msg, "Disconnection in progress");
diff --git a/hcid/dbus-error.h b/hcid/dbus-error.h
index 2cdabdde..a3f67e3a 100644
--- a/hcid/dbus-error.h
+++ b/hcid/dbus-error.h
@@ -35,19 +35,12 @@ DBusHandlerResult error_request_deferred(DBusConnection *conn, DBusMessage *msg)
/* Used only for hcid device audit feature */
DBusHandlerResult error_not_in_progress(DBusConnection *conn, DBusMessage *msg, const char *str);
DBusHandlerResult error_unsupported_major_class(DBusConnection *conn, DBusMessage *msg);
-DBusHandlerResult error_bonding_already_exists(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_bonding_does_not_exist(DBusConnection *conn, DBusMessage *msg);
-DBusHandlerResult error_bonding_in_progress(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_bonding_not_in_progress(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_authentication_canceled(DBusConnection *conn, DBusMessage *msg);
-DBusHandlerResult error_discover_in_progress(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_record_does_not_exist(DBusConnection *conn, DBusMessage *msg);
-DBusHandlerResult error_passkey_agent_already_exists(DBusConnection *conn, DBusMessage *msg);
-DBusHandlerResult error_passkey_agent_does_not_exist(DBusConnection *conn, DBusMessage *msg);
-DBusHandlerResult error_auth_agent_already_exists(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_auth_agent_does_not_exist(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_service_does_not_exist(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_service_search_in_progress(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_sdp_failed(DBusConnection *conn, DBusMessage *msg, int err);
-DBusHandlerResult error_audit_already_exists(DBusConnection *conn, DBusMessage *msg);
DBusHandlerResult error_disconnect_in_progress(DBusConnection *conn, DBusMessage *msg);