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, 4 insertions, 4 deletions
diff --git a/include/sim.h b/include/sim.h
index 36a99b93..5bd1dd33 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -94,8 +94,8 @@ typedef void (*ofono_sim_write_cb_t)(const struct ofono_error *error,
typedef void (*ofono_sim_imsi_cb_t)(const struct ofono_error *error,
const char *imsi, void *data);
-typedef void (*ofono_sim_state_event_notify_cb_t)(void *data,
- enum ofono_sim_state new_state);
+typedef void (*ofono_sim_state_event_cb_t)(enum ofono_sim_state new_state,
+ void *data);
typedef void (*ofono_sim_file_read_cb_t)(int ok, int total_length, int record,
const unsigned char *data,
@@ -178,8 +178,8 @@ enum ofono_sim_cphs_phase ofono_sim_get_cphs_phase(struct ofono_sim *sim);
const unsigned char *ofono_sim_get_cphs_service_table(struct ofono_sim *sim);
unsigned int ofono_sim_add_state_watch(struct ofono_sim *sim,
- ofono_sim_state_event_notify_cb_t cb,
- void *data, ofono_destroy_func destroy);
+ ofono_sim_state_event_cb_t cb,
+ void *data, ofono_destroy_func destroy);
void ofono_sim_remove_state_watch(struct ofono_sim *sim, unsigned int id);