summaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-05-26 17:32:28 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-05-26 21:03:15 -0500
commit7b778882172ce17c3091958364a311e4d779aab0 (patch)
tree3e1365bb0ce9cc25e5a753108a192302c357cd7e /src/dbus.c
parent5da54eea44457d167a23fdceccf2780622f32894 (diff)
Add __ofono_error_not_available
Diffstat (limited to 'src/dbus.c')
-rw-r--r--src/dbus.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dbus.c b/src/dbus.c
index 5b005875..5aa4bcf1 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -298,6 +298,13 @@ DBusMessage *__ofono_error_not_supported(DBusMessage *msg)
" network / modem");
}
+DBusMessage *__ofono_error_not_available(DBusMessage *msg)
+{
+ return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE,
+ ".NotAvailable",
+ "Operation currently not available");
+}
+
DBusMessage *__ofono_error_timed_out(DBusMessage *msg)
{
return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE ".Timedout",