From b79b64439f432098cc60194c01d911784d37b1c1 Mon Sep 17 00:00:00 2001 From: "Gustavo F. Padovan" Date: Fri, 19 Nov 2010 19:37:08 -0200 Subject: dbus: Add __ofono_error_access_denied --- src/dbus.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dbus.c') diff --git a/src/dbus.c b/src/dbus.c index 86dbdda2..ad292412 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -342,6 +342,12 @@ DBusMessage *__ofono_error_canceled(DBusMessage *msg) "Operation has been canceled"); } +DBusMessage *__ofono_error_access_denied(DBusMessage *msg) +{ + return g_dbus_create_error(msg, OFONO_ERROR_INTERFACE ".AccessDenied", + "Operation not permitted"); +} + void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply) { DBusConnection *conn = ofono_dbus_get_connection(); -- cgit v1.2.3