diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-16 15:58:08 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-16 21:45:43 +0200 |
commit | 9f7a7d39ac16f1c1e5e316ae9f2599a29f3ca97f (patch) | |
tree | 4551b0798075b25c807ced11278e6bf42d133398 /src/error.c | |
parent | 33249f80e69ab30aca70c647199cb88ca58e1bad (diff) | |
download | bluez-9f7a7d39ac16f1c1e5e316ae9f2599a29f3ca97f.tar.gz |
Add btd_error_not_ready()
Diffstat (limited to 'src/error.c')
-rw-r--r-- | src/error.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c index ebfc614eb..c2d9baaab 100644 --- a/src/error.c +++ b/src/error.c @@ -103,6 +103,12 @@ DBusMessage *btd_error_agent_not_available(DBusMessage *msg) "Agent Not Available"); } +DBusMessage *btd_error_not_ready(DBusMessage *msg) +{ + return g_dbus_create_error(msg, ERROR_INTERFACE ".NotReady", + "Resource Not Ready"); +} + DBusMessage *btd_error_failed(DBusMessage *msg, const char *str) { return g_dbus_create_error(msg, ERROR_INTERFACE |