summaryrefslogtreecommitdiffstats
path: root/include/sim.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-01-12 11:27:31 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-01-12 11:27:31 -0600
commit0382f6435357ec41be496702aa8d27bd6e1bf4c3 (patch)
tree4adfc3c8fdd0018205a5508f1abead37b884f639 /include/sim.h
parent2b231c3f8487f51ee0691e2e97ef1207bbf79e0d (diff)
downloadofono-0382f6435357ec41be496702aa8d27bd6e1bf4c3.tar.bz2
Refactor: Rename & Restructure cphs_support
- Rename to cphs_service_table to be more inline with the specification. - Since the spec allows arbitrary length service tables, use an unsigned char * return instead of a short. - Use bit_field function instead of defining an enum
Diffstat (limited to 'include/sim.h')
-rw-r--r--include/sim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sim.h b/include/sim.h
index 29a0847f..6ff29f74 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -171,7 +171,7 @@ const char *ofono_sim_get_imsi(struct ofono_sim *sim);
enum ofono_sim_phase ofono_sim_get_phase(struct ofono_sim *sim);
enum ofono_sim_cphs_phase ofono_sim_get_cphs_phase(struct ofono_sim *sim);
-unsigned short ofono_sim_get_cphs_support(struct ofono_sim *sim);
+const unsigned char *ofono_sim_get_cphs_service_table(struct ofono_sim *sim);
unsigned int ofono_sim_add_ready_watch(struct ofono_sim *sim,
ofono_sim_ready_notify_cb_t cb,