diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-06 17:10:48 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-07 23:13:16 +0200 |
commit | b7d1fc1f399e6ea445520b93961f3a11243d8b04 (patch) | |
tree | 4c1364b10fc97eb68cdc0863a5607a1f2fc91666 /src/error.c | |
parent | 581171be9bff79d2603387551460f70e825ef9d8 (diff) | |
download | bluez-b7d1fc1f399e6ea445520b93961f3a11243d8b04.tar.gz |
Add btd_error_not_authorized()
Diffstat (limited to 'src/error.c')
-rw-r--r-- | src/error.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c index 7c7d14ed8..3c095676d 100644 --- a/src/error.c +++ b/src/error.c @@ -103,3 +103,10 @@ DBusMessage *btd_error_does_not_exist(DBusMessage *msg) ".DoesNotExist", "Does Not Exist"); } + +DBusMessage *btd_error_not_authorized(DBusMessage *msg) +{ + return g_dbus_create_error(msg, ERROR_INTERFACE + ".NotAuthorized", + "Operation Not Authorized"); +} |