diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-13 19:33:00 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-14 10:31:13 +0200 |
commit | 36361f3899ff7ea1d20206ab47309590777f61a9 (patch) | |
tree | ee37b2ee665931bb5d803802a5579523b6efacd4 /src/error.h | |
parent | a78a0693a6ca2c927a7e88adbef8001f72a16ac1 (diff) | |
download | bluez-36361f3899ff7ea1d20206ab47309590777f61a9.tar.gz |
Add btd_error_failed()
This is a special error type. It has a more general meaning and allows you
to add a string to the error.
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h index a4e32fe3f..faaef0ac7 100644 --- a/src/error.h +++ b/src/error.h @@ -41,3 +41,4 @@ DBusMessage *btd_error_in_progress(DBusMessage *msg); DBusMessage *btd_error_does_not_exist(DBusMessage *msg); DBusMessage *btd_error_not_authorized(DBusMessage *msg); DBusMessage *btd_error_no_such_adapter(DBusMessage *msg); +DBusMessage *btd_error_failed(DBusMessage *msg, const char *str); |