diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-06 17:10:45 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-07 23:10:30 +0200 |
commit | cd5f44488fef08aa2c6d940f8f65546f666e569a (patch) | |
tree | 5b3c3490d9b5becb0ed76c0c1dfc543e1bb0a69e /src/error.c | |
parent | bd3cf4860d056d3044b7eb8a4e03c53934eb20a6 (diff) | |
download | bluez-cd5f44488fef08aa2c6d940f8f65546f666e569a.tar.gz |
Add btd_error_not_available()
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 9b1884243..3f9acd995 100644 --- a/src/error.c +++ b/src/error.c @@ -83,3 +83,10 @@ DBusMessage *btd_error_in_progress(DBusMessage *msg) ".InProgress", "In Progress"); } + +DBusMessage *btd_error_not_available(DBusMessage *msg) +{ + return g_dbus_create_error(msg, ERROR_INTERFACE + ".NotAvailable", + "Operation currently not available"); +} |