summaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-11-19 19:37:08 -0200
committerDenis Kenzior <denkenz@gmail.com>2010-11-23 05:06:29 -0600
commitb79b64439f432098cc60194c01d911784d37b1c1 (patch)
tree3620ab9ca91e987935ed12afb28339aede51c2cc /src/dbus.c
parent9de85e7a78312482b20ed7f44db996dce5482784 (diff)
dbus: Add __ofono_error_access_denied
Diffstat (limited to 'src/dbus.c')
-rw-r--r--src/dbus.c6
1 files changed, 6 insertions, 0 deletions
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();