From e1e44e772a789313956e819711d45f8d0d6f0d8b Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 18 Nov 2009 13:23:13 -0600 Subject: Refactor: Send NotAttached error If one tries to activate the context and we're currently not attached to GPRS, report a NotAttached error instead of a failure --- src/ofono.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ofono.h') diff --git a/src/ofono.h b/src/ofono.h index b03dafce..037c4039 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -51,6 +51,7 @@ DBusMessage *__ofono_error_not_supported(DBusMessage *msg); DBusMessage *__ofono_error_timed_out(DBusMessage *msg); DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg); DBusMessage *__ofono_error_in_use(DBusMessage *msg); +DBusMessage *__ofono_error_not_attached(DBusMessage *msg); void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply); -- cgit v1.2.3