mirror of git://git.sysmocom.de/ofono
sim: Use ofono_bool_t instead of gboolean
This commit is contained in:
parent
d51c05cef3
commit
10297b153a
|
@ -199,11 +199,11 @@ 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_bool_t 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);
|
||||
ofono_bool_t 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);
|
||||
|
||||
|
|
|
@ -2572,7 +2572,7 @@ static void sim_spn_close(struct ofono_sim *sim)
|
|||
sim->spn_dc = NULL;
|
||||
}
|
||||
|
||||
gboolean ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id,
|
||||
ofono_bool_t ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id,
|
||||
ofono_sim_spn_cb_t cb, void *data,
|
||||
ofono_destroy_func destroy)
|
||||
{
|
||||
|
@ -2610,7 +2610,7 @@ gboolean ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id)
|
||||
ofono_bool_t ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id)
|
||||
{
|
||||
gboolean ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue