diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-06 17:10:43 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-07 23:08:14 +0200 |
commit | 64dc6dbbf34802055a996c390bd876d9cdaef504 (patch) | |
tree | e29d1c1eab7008d3a968813b731561e675768444 /src/error.c | |
parent | 62eed980afbc73a84258e3f218006d3d21060b6c (diff) | |
download | bluez-64dc6dbbf34802055a996c390bd876d9cdaef504.tar.gz |
Add btd_error_not_connected()
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 0ea007adf..c8cccf934 100644 --- a/src/error.c +++ b/src/error.c @@ -69,3 +69,10 @@ DBusMessage *btd_error_not_supported(DBusMessage *msg) ".NotSupported", "Operation is not supported"); } + +DBusMessage *btd_error_not_connected(DBusMessage *msg) +{ + return g_dbus_create_error(msg, ERROR_INTERFACE + ".NotConnected", + "Not Connected"); +} |