diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-05-13 21:16:25 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-05-13 21:16:25 -0700 |
commit | 5d707c40f9304323ce09ba4e7b3a699a25742501 (patch) | |
tree | 87d64e63ca3e097ea55c0675bf9fcbd8dde14b1e /src/error.c | |
parent | e8207227380676aae70045f299c9441d43f5f813 (diff) | |
download | connman-5d707c40f9304323ce09ba4e7b3a699a25742501.tar.gz connman-5d707c40f9304323ce09ba4e7b3a699a25742501.tar.bz2 connman-5d707c40f9304323ce09ba4e7b3a699a25742501.zip |
Add helper for operation aborted error messages
Diffstat (limited to 'src/error.c')
-rw-r--r-- | src/error.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c index 6e99166d..dd299fbb 100644 --- a/src/error.c +++ b/src/error.c @@ -74,3 +74,9 @@ DBusMessage *__connman_error_in_progress(DBusMessage *msg) ".InProgress", NULL); } + +DBusMessage *__connman_error_operation_aborted(DBusMessage *msg) +{ + return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE + "OperationAborted", NULL); +} |