From 07a2e7028367a22fbebb073dabd25d605b04438b Mon Sep 17 00:00:00 2001 From: Philippe Nunes Date: Wed, 30 May 2012 15:53:09 +0200 Subject: dbus: Add __ofono_error_from_error utility function --- src/ofono.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ofono.h') 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); -- cgit v1.2.3