---
 src/emulator.c |   20 ++++++++++++++++++++
 src/ofono.h    |    7 +++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/emulator.c b/src/emulator.c
index 5ad0d78..e66e9ca 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -294,6 +294,26 @@ static gboolean emulator_dbus_register(struct 
ofono_emulator *oe,
        return TRUE;
 }
 
+void ofono_emulator_send_final(struct emulator *e, GAtServerResult result)
+{
+       g_at_server_send_final(e->server, result);
+}
+
+void ofono_emulator_send_ext_final(struct emulator *e, const char *result)
+{
+       g_at_server_send_ext_final(e->server, result);
+}
+
+void ofono_emulator_send_intermediate(struct emulator *e, const char *result)
+{
+       g_at_server_send_intermediate(e->server, result);
+}
+
+void ofono_emulator_send_unsolicited(struct emulator *e, const char *result)
+{
+       g_at_server_send_unsolicited(e->server, result);
+}
+
 static int emulators_path_list(struct ofono_emulator *oe, char ***objlist)
 {
        GSList *emulator_list = oe->emulator_list;
diff --git a/src/ofono.h b/src/ofono.h
index 120238c..047260c 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -270,6 +270,7 @@ void __ofono_message_waiting_mwi(struct 
ofono_message_waiting *mw,
 #include <ofono/emulator.h>
 
 struct emulator;
+enum _GAtServerResult;
 
 enum ofono_emulator_status {
        OFONO_EMULATOR_STATUS_CREATE = 0,
@@ -296,3 +297,9 @@ unsigned int __ofono_emulator_add_status_watch(struct 
ofono_emulator *emulator,
 
 gboolean __ofono_emulator_remove_status_watch(struct ofono_emulator *emulator,
                                                unsigned int id);
+
+void ofono_emulator_send_final(struct emulator *e,
+                                       enum _GAtServerResult result);
+void ofono_emulator_send_ext_final(struct emulator *e, const char *result);
+void ofono_emulator_send_intermediate(struct emulator *e, const char *result);
+void ofono_emulator_send_unsolicited(struct emulator *e, const char *result);
-- 
1.6.3.3

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to