All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Add sim driver call for applications discovery.
@ 2011-01-12 12:12 Andrzej Zaborowski
  2011-01-12 12:12 ` [PATCH 2/2] atmodem: Use +CUAD to list SIM applications Andrzej Zaborowski
  2011-01-13 16:39 ` [PATCH 1/2] Add sim driver call for applications discovery Denis Kenzior
  0 siblings, 2 replies; 4+ messages in thread
From: Andrzej Zaborowski @ 2011-01-12 12:12 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-17 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12 12:12 [PATCH 1/2] Add sim driver call for applications discovery Andrzej Zaborowski
2011-01-12 12:12 ` [PATCH 2/2] atmodem: Use +CUAD to list SIM applications Andrzej Zaborowski
2011-01-13 16:39 ` [PATCH 1/2] Add sim driver call for applications discovery Denis Kenzior
2011-01-17 14:42   ` Pekka Pessi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.