diff options
author | Philippe Nunes <philippe.nunes@linux.intel.com> | 2012-05-30 15:53:09 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-05-30 09:03:23 -0500 |
commit | 07a2e7028367a22fbebb073dabd25d605b04438b (patch) | |
tree | 225d71b02e3604cfc0933bf40bad91018f005c56 /src/ofono.h | |
parent | 21369944ad51cf9fe5f2f831c1afae33a18ecceb (diff) | |
download | ofono-07a2e7028367a22fbebb073dabd25d605b04438b.tar.bz2 |
dbus: Add __ofono_error_from_error utility function
Diffstat (limited to 'src/ofono.h')
-rw-r--r-- | src/ofono.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ofono.h b/src/ofono.h index 81d5f71d..f0e10726 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -66,6 +66,9 @@ DBusMessage *__ofono_error_emergency_active(DBusMessage *msg); DBusMessage *__ofono_error_incorrect_password(DBusMessage *msg); DBusMessage *__ofono_error_not_allowed(DBusMessage *msg); +DBusMessage *__ofono_error_from_error(const struct ofono_error *error, + DBusMessage *msg); + void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply); gboolean __ofono_dbus_valid_object_path(const char *path); |