diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-06 17:10:42 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-07 23:00:22 +0200 |
commit | 62eed980afbc73a84258e3f218006d3d21060b6c (patch) | |
tree | 359a5f5669a5fd2a7cc988fb25b00cf1934f1e37 /src/error.c | |
parent | 73774f1b253c882f9fa2a21b3df4b2bd52fbc3ce (diff) | |
download | bluez-62eed980afbc73a84258e3f218006d3d21060b6c.tar.gz |
Add btd_error_not_supported()
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 415511daf..0ea007adf 100644 --- a/src/error.c +++ b/src/error.c @@ -62,3 +62,10 @@ DBusMessage *btd_error_already_exists(DBusMessage *msg) ERROR_INTERFACE ".AlreadyExists", "Already Exists"); } + +DBusMessage *btd_error_not_supported(DBusMessage *msg) +{ + return g_dbus_create_error(msg, ERROR_INTERFACE + ".NotSupported", + "Operation is not supported"); +} |