---
include/emulator.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/emulator.h b/include/emulator.h
index 5cd894b..3e8b6d9 100644
--- a/include/emulator.h
+++ b/include/emulator.h
@@ -67,6 +67,8 @@ typedef void (*ofono_emulator_request_cb_t)(struct
ofono_emulator *em,
struct ofono_emulator_request *req,
void *data);
+typedef void (*ofono_emulator_removed_cb_t)(void *data);
+
struct ofono_emulator *ofono_emulator_create(struct ofono_modem *modem,
enum ofono_emulator_type type);
@@ -74,6 +76,9 @@ void ofono_emulator_register(struct ofono_emulator *em, int
fd);
void ofono_emulator_remove(struct ofono_emulator *em);
+void ofono_emulator_set_removed_cb(struct ofono_emulator* em,
+ ofono_emulator_removed_cb_t cb, void *data);
+
void ofono_emulator_send_final(struct ofono_emulator *em,
const struct ofono_error *final);
void ofono_emulator_send_unsolicited(struct ofono_emulator *em,
--
1.7.9.5
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono