From 0382f6435357ec41be496702aa8d27bd6e1bf4c3 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 12 Jan 2010 11:27:31 -0600 Subject: 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 --- include/sim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sim.h') 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, -- cgit v1.2.3