diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-11-19 19:37:08 -0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-23 05:06:29 -0600 |
commit | b79b64439f432098cc60194c01d911784d37b1c1 (patch) | |
tree | 3620ab9ca91e987935ed12afb28339aede51c2cc /src/dbus.c | |
parent | 9de85e7a78312482b20ed7f44db996dce5482784 (diff) |
dbus: Add __ofono_error_access_denied
Diffstat (limited to 'src/dbus.c')
-rw-r--r-- | src/dbus.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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(); |