diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-06 17:10:46 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-07 23:11:10 +0200 |
commit | 27fffa4aad5a42ef9841b27338e63b80ea24c4cc (patch) | |
tree | 58ce314c577112c376281547b2a5b2065818b944 /src/error.c | |
parent | cd5f44488fef08aa2c6d940f8f65546f666e569a (diff) | |
download | bluez-27fffa4aad5a42ef9841b27338e63b80ea24c4cc.tar.gz |
Add btd_error_busy()
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 3f9acd995..cf3c54daa 100644 --- a/src/error.c +++ b/src/error.c @@ -56,6 +56,12 @@ DBusMessage *btd_error_invalid_args(DBusMessage *msg) "Invalid arguments in method call"); } +DBusMessage *btd_error_busy(DBusMessage *msg) +{ + return g_dbus_create_error(msg, ERROR_INTERFACE ".InProgress", + "Operation already in progress"); +} + DBusMessage *btd_error_already_exists(DBusMessage *msg) { return g_dbus_create_error(msg, |