From: Marcel Holtmann Date: Thu, 14 May 2009 04:10:38 +0000 (-0700) Subject: Add helper for in progress error messages X-Git-Tag: 0.18~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8207227380676aae70045f299c9441d43f5f813;p=platform%2Fupstream%2Fconnman.git Add helper for in progress error messages --- diff --git a/src/connman.h b/src/connman.h index 00a29e4..05b3e89 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 2c361bc..6e99166 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); + +}