---
 include/sim.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/include/sim.h b/include/sim.h
index aab981c..e4176e3 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -77,6 +77,12 @@ enum ofono_sim_state {
        OFONO_SIM_STATE_READY,
 };
 
+struct ofono_sim_app_record {
+       unsigned char aid[16];
+       unsigned int aid_len;
+       char *label;
+};
+
 typedef void (*ofono_sim_file_info_cb_t)(const struct ofono_error *error,
                                        int filelength,
                                        enum ofono_sim_file_structure structure,
@@ -114,6 +120,9 @@ typedef void (*ofono_sim_lock_unlock_cb_t)(const struct 
ofono_error *error,
 typedef void (*ofono_sim_locked_cb_t)(const struct ofono_error *error,
                                        int locked, void *data);
 
+typedef void (*ofono_sim_apps_cb_t)(const struct ofono_error *error,
+                                       GSList *apps, void *data);
+
 typedef void (*ofono_sim_file_notify_t)(int id, void *userdata);
 
 struct ofono_sim_driver {
@@ -159,6 +168,8 @@ struct ofono_sim_driver {
        void (*query_locked)(struct ofono_sim *sim,
                        enum ofono_sim_password_type type,
                        ofono_sim_locked_cb_t cb, void *data);
+       void (*list_apps)(struct ofono_sim *sim, ofono_sim_apps_cb_t cb,
+                       void *data);
 };
 
 int ofono_sim_driver_register(const struct ofono_sim_driver *d);
-- 
1.7.1.86.g0e460.dirty

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

Reply via email to