diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/call-barring.h | 5 | ||||
-rw-r--r-- | include/call-forwarding.h | 5 | ||||
-rw-r--r-- | include/call-meter.h | 5 | ||||
-rw-r--r-- | include/call-settings.h | 5 | ||||
-rw-r--r-- | include/devinfo.h | 5 | ||||
-rw-r--r-- | include/netreg.h | 9 | ||||
-rw-r--r-- | include/phonebook.h | 5 | ||||
-rw-r--r-- | include/sim.h | 5 | ||||
-rw-r--r-- | include/sms.h | 5 | ||||
-rw-r--r-- | include/ssn.h | 5 | ||||
-rw-r--r-- | include/ussd.h | 5 | ||||
-rw-r--r-- | include/voicecall.h | 5 |
12 files changed, 39 insertions, 25 deletions
diff --git a/include/call-barring.h b/include/call-barring.h index 6350ec64..e767d02c 100644 --- a/include/call-barring.h +++ b/include/call-barring.h @@ -37,7 +37,8 @@ typedef void (*ofono_call_barring_query_cb_t)(const struct ofono_error *error, struct ofono_call_barring_driver { const char *name; - int (*probe)(struct ofono_call_barring *cb, int vendor, void *data); + int (*probe)(struct ofono_call_barring *cb, unsigned int vendor, + void *data); int (*remove)(struct ofono_call_barring *cb); void (*set)(struct ofono_call_barring *barr, const char *lock, int enable, const char *passwd, int cls, @@ -53,7 +54,7 @@ int ofono_call_barring_driver_register(const struct ofono_call_barring_driver *d void ofono_call_barring_driver_unregister(const struct ofono_call_barring_driver *d); struct ofono_call_barring *ofono_call_barring_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); diff --git a/include/call-forwarding.h b/include/call-forwarding.h index 3f6ce443..05aa39d4 100644 --- a/include/call-forwarding.h +++ b/include/call-forwarding.h @@ -47,7 +47,8 @@ typedef void (*ofono_call_forwarding_query_cb_t)(const struct ofono_error *error struct ofono_call_forwarding_driver { const char *name; - int (*probe)(struct ofono_call_forwarding *cf, int vendor, void *data); + int (*probe)(struct ofono_call_forwarding *cf, unsigned int vendor, + void *data); int (*remove)(struct ofono_call_forwarding *cf); void (*activation)(struct ofono_call_forwarding *cf, int type, int cls, @@ -71,7 +72,7 @@ int ofono_call_forwarding_driver_register(const struct ofono_call_forwarding_dri void ofono_call_forwarding_driver_unregister(const struct ofono_call_forwarding_driver *d); struct ofono_call_forwarding *ofono_call_forwarding_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); diff --git a/include/call-meter.h b/include/call-meter.h index bb8d05c6..a553c39b 100644 --- a/include/call-meter.h +++ b/include/call-meter.h @@ -42,7 +42,8 @@ typedef void(*ofono_call_meter_set_cb_t)(const struct ofono_error *error, struct ofono_call_meter_driver { const char *name; - int (*probe)(struct ofono_call_meter *cm, int vendor, void *data); + int (*probe)(struct ofono_call_meter *cm, unsigned int vendor, + void *data); int (*remove)(struct ofono_call_meter *cm); void (*call_meter_query)(struct ofono_call_meter *cm, ofono_call_meter_query_cb_t cb, void *data); @@ -66,7 +67,7 @@ int ofono_call_meter_driver_register(const struct ofono_call_meter_driver *d); void ofono_call_meter_driver_unregister(const struct ofono_call_meter_driver *d); struct ofono_call_meter *ofono_call_meter_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); diff --git a/include/call-settings.h b/include/call-settings.h index 5aca0c43..01e6d864 100644 --- a/include/call-settings.h +++ b/include/call-settings.h @@ -41,7 +41,8 @@ typedef void (*ofono_call_settings_clir_cb_t)(const struct ofono_error *error, struct ofono_call_settings_driver { const char *name; - int (*probe)(struct ofono_call_settings *cs, int vendor, void *data); + int (*probe)(struct ofono_call_settings *cs, unsigned int vendor, + void *data); int (*remove)(struct ofono_call_settings *cs); void (*clip_query)(struct ofono_call_settings *cs, ofono_call_settings_status_cb_t cb, void *data); @@ -63,7 +64,7 @@ int ofono_call_settings_driver_register(const struct ofono_call_settings_driver void ofono_call_settings_driver_unregister(const struct ofono_call_settings_driver *d); struct ofono_call_settings *ofono_call_settings_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); diff --git a/include/devinfo.h b/include/devinfo.h index 5bb7ccc3..7aa0f111 100644 --- a/include/devinfo.h +++ b/include/devinfo.h @@ -35,7 +35,8 @@ typedef void (*ofono_devinfo_query_cb_t)(const struct ofono_error *error, struct ofono_devinfo_driver { const char *name; - int (*probe)(struct ofono_devinfo *info, int vendor, void *data); + int (*probe)(struct ofono_devinfo *info, unsigned int vendor, + void *data); int (*remove)(struct ofono_devinfo *info); void (*query_manufacturer)(struct ofono_devinfo *info, ofono_devinfo_query_cb_t cb, void *data); @@ -51,7 +52,7 @@ int ofono_devinfo_driver_register(const struct ofono_devinfo_driver *d); void ofono_devinfo_driver_unregister(const struct ofono_devinfo_driver *d); struct ofono_devinfo *ofono_devinfo_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); void ofono_devinfo_register(struct ofono_devinfo *info); diff --git a/include/netreg.h b/include/netreg.h index 9bb94783..dbd63bc7 100644 --- a/include/netreg.h +++ b/include/netreg.h @@ -70,7 +70,8 @@ typedef void (*ofono_netreg_strength_cb_t)(const struct ofono_error *error, */ struct ofono_netreg_driver { const char *name; - int (*probe)(struct ofono_netreg *netreg, int vendor, void *data); + int (*probe)(struct ofono_netreg *netreg, unsigned int vendor, + void *data); int (*remove)(struct ofono_netreg *netreg); void (*registration_status)(struct ofono_netreg *netreg, ofono_netreg_status_cb_t cb, void *data); @@ -96,8 +97,10 @@ void ofono_netreg_status_notify(struct ofono_netreg *netreg, int status, int ofono_netreg_driver_register(const struct ofono_netreg_driver *d); void ofono_netreg_driver_unregister(const struct ofono_netreg_driver *d); -struct ofono_netreg *ofono_netreg_create(struct ofono_modem *modem, int vendor, - const char *driver, void *data); +struct ofono_netreg *ofono_netreg_create(struct ofono_modem *modem, + unsigned int vendor, + const char *driver, + void *data); void ofono_netreg_register(struct ofono_netreg *netreg); void ofono_netreg_remove(struct ofono_netreg *netreg); diff --git a/include/phonebook.h b/include/phonebook.h index 1fc154d2..73f2bb9a 100644 --- a/include/phonebook.h +++ b/include/phonebook.h @@ -38,7 +38,8 @@ typedef void (*ofono_phonebook_cb_t)(const struct ofono_error *error, */ struct ofono_phonebook_driver { const char *name; - int (*probe)(struct ofono_phonebook *pb, int vendor, void *data); + int (*probe)(struct ofono_phonebook *pb, unsigned int vendor, + void *data); int (*remove)(struct ofono_phonebook *pb); void (*export_entries)(struct ofono_phonebook *pb, const char *storage, ofono_phonebook_cb_t cb, void *data); @@ -56,7 +57,7 @@ int ofono_phonebook_driver_register(const struct ofono_phonebook_driver *d); void ofono_phonebook_driver_unregister(const struct ofono_phonebook_driver *d); struct ofono_phonebook *ofono_phonebook_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); diff --git a/include/sim.h b/include/sim.h index 2cabd79f..9ab60845 100644 --- a/include/sim.h +++ b/include/sim.h @@ -66,7 +66,7 @@ typedef void (*ofono_sim_file_write_cb_t)(int ok, void *userdata); struct ofono_sim_driver { const char *name; - int (*probe)(struct ofono_sim *sim, int vendor, void *data); + int (*probe)(struct ofono_sim *sim, unsigned int vendor, void *data); int (*remove)(struct ofono_sim *sim); void (*read_file_info)(struct ofono_sim *sim, int fileid, ofono_sim_file_info_cb_t cb, void *data); @@ -95,7 +95,8 @@ struct ofono_sim_driver { int ofono_sim_driver_register(const struct ofono_sim_driver *d); void ofono_sim_driver_unregister(const struct ofono_sim_driver *d); -struct ofono_sim *ofono_sim_create(struct ofono_modem *modem, int vendor, +struct ofono_sim *ofono_sim_create(struct ofono_modem *modem, + unsigned int vendor, const char *driver, void *data); void ofono_sim_register(struct ofono_sim *sim); diff --git a/include/sms.h b/include/sms.h index 546d40af..35025f15 100644 --- a/include/sms.h +++ b/include/sms.h @@ -40,7 +40,7 @@ typedef void (*ofono_sms_sca_set_cb_t)(const struct ofono_error *error, struct ofono_sms_driver { const char *name; - int (*probe)(struct ofono_sms *sms, int vendor, void *data); + int (*probe)(struct ofono_sms *sms, unsigned int vendor, void *data); int (*remove)(struct ofono_sms *sms); void (*sca_query)(struct ofono_sms *sms, ofono_sms_sca_query_cb_t cb, void *data); @@ -60,7 +60,8 @@ void ofono_sms_status_notify(struct ofono_sms *sms, unsigned char *pdu, int ofono_sms_driver_register(const struct ofono_sms_driver *d); void ofono_sms_driver_unregister(const struct ofono_sms_driver *d); -struct ofono_sms *ofono_sms_create(struct ofono_modem *modem, int vendor, +struct ofono_sms *ofono_sms_create(struct ofono_modem *modem, + unsigned int vendor, const char *driver, void *data); void ofono_sms_register(struct ofono_sms *sms); diff --git a/include/ssn.h b/include/ssn.h index b1e51bfe..c5e428c5 100644 --- a/include/ssn.h +++ b/include/ssn.h @@ -32,7 +32,7 @@ struct ofono_ssn; struct ofono_ssn_driver { const char *name; - int (*probe)(struct ofono_ssn *ssn, int vendor, void *data); + int (*probe)(struct ofono_ssn *ssn, unsigned int vendor, void *data); int (*remove)(struct ofono_ssn *ssn); }; @@ -44,7 +44,8 @@ void ofono_ssn_cssu_notify(struct ofono_ssn *ssn, int code, int index, int ofono_ssn_driver_register(const struct ofono_ssn_driver *d); void ofono_ssn_driver_unregister(const struct ofono_ssn_driver *d); -struct ofono_ssn *ofono_ssn_create(struct ofono_modem *modem, int vendor, +struct ofono_ssn *ofono_ssn_create(struct ofono_modem *modem, + unsigned int vendor, const char *driver, void *data); void ofono_ssn_register(struct ofono_ssn *ssn); diff --git a/include/ussd.h b/include/ussd.h index feb20ce3..6f5acdad 100644 --- a/include/ussd.h +++ b/include/ussd.h @@ -34,7 +34,7 @@ typedef void (*ofono_ussd_cb_t)(const struct ofono_error *error, void *data); struct ofono_ussd_driver { const char *name; - int (*probe)(struct ofono_ussd *ussd, int vendor, void *data); + int (*probe)(struct ofono_ussd *ussd, unsigned int vendor, void *data); int (*remove)(struct ofono_ussd *ussd); void (*request)(struct ofono_ussd *ussd, const char *str, ofono_ussd_cb_t, void *data); @@ -47,7 +47,8 @@ void ofono_ussd_notify(struct ofono_ussd *ussd, int status, const char *str); int ofono_ussd_driver_register(const struct ofono_ussd_driver *d); void ofono_ussd_driver_unregister(const struct ofono_ussd_driver *d); -struct ofono_ussd *ofono_ussd_create(struct ofono_modem *modem, int vendor, +struct ofono_ussd *ofono_ussd_create(struct ofono_modem *modem, + unsigned int vendor, const char *driver, void *data); void ofono_ussd_register(struct ofono_ussd *ussd); diff --git a/include/voicecall.h b/include/voicecall.h index e22b0ca5..b19a0fd5 100644 --- a/include/voicecall.h +++ b/include/voicecall.h @@ -46,7 +46,8 @@ typedef void (*ofono_call_list_cb_t)(const struct ofono_error *error, */ struct ofono_voicecall_driver { const char *name; - int (*probe)(struct ofono_voicecall *vc, int vendor, void *data); + int (*probe)(struct ofono_voicecall *vc, unsigned int vendor, + void *data); int (*remove)(struct ofono_voicecall *vc); void (*dial)(struct ofono_voicecall *vc, const struct ofono_phone_number *number, @@ -93,7 +94,7 @@ int ofono_voicecall_driver_register(const struct ofono_voicecall_driver *d); void ofono_voicecall_driver_unregister(const struct ofono_voicecall_driver *d); struct ofono_voicecall *ofono_voicecall_create(struct ofono_modem *modem, - int vendor, + unsigned int vendor, const char *driver, void *data); void ofono_voicecall_register(struct ofono_voicecall *vc); |