summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/connman.h1
-rw-r--r--src/error.c7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 00a29e45..05b3e890 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -38,6 +38,7 @@ DBusMessage *__connman_error_permission_denied(DBusMessage *msg);
DBusMessage *__connman_error_not_supported(DBusMessage *msg);
DBusMessage *__connman_error_not_implemented(DBusMessage *msg);
DBusMessage *__connman_error_no_carrier(DBusMessage *msg);
+DBusMessage *__connman_error_in_progress(DBusMessage *msg);
int __connman_selftest(void);
diff --git a/src/error.c b/src/error.c
index 2c361bc8..6e99166d 100644
--- a/src/error.c
+++ b/src/error.c
@@ -67,3 +67,10 @@ DBusMessage *__connman_error_no_carrier(DBusMessage *msg)
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
".NoCarrier", NULL);
}
+
+DBusMessage *__connman_error_in_progress(DBusMessage *msg)
+{
+ return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
+ ".InProgress", NULL);
+
+}