summaryrefslogtreecommitdiffstats
path: root/include/sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sim.h')
-rw-r--r--include/sim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h
index 6a5f067f..b238868c 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -196,6 +196,14 @@ void ofono_sim_remove_state_watch(struct ofono_sim *sim, unsigned int id);
enum ofono_sim_state ofono_sim_get_state(struct ofono_sim *sim);
+typedef void (*ofono_sim_spn_cb_t)(const char *spn, const char *dc, void *data);
+
+gboolean ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id,
+ ofono_sim_spn_cb_t cb, void *data,
+ ofono_destroy_func destroy);
+
+gboolean ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id);
+
void ofono_sim_inserted_notify(struct ofono_sim *sim, ofono_bool_t inserted);
struct ofono_sim_context *ofono_sim_context_create(struct ofono_sim *sim);