diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-06-27 12:58:30 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-06-27 12:58:30 +0200 |
commit | b73c6cf5a94e1c7f9be38917f26da37e13fe452e (patch) | |
tree | 569586654512f79d70a1bb065b15b8f9f3373a0e /samsung-ipc/ipc_devices.h | |
parent | 0916c6823f2af47257b09899ba62e44eb56eee72 (diff) | |
download | hardware_replicant_libsamsung-ipc-b73c6cf5a94e1c7f9be38917f26da37e13fe452e.tar.gz hardware_replicant_libsamsung-ipc-b73c6cf5a94e1c7f9be38917f26da37e13fe452e.tar.bz2 hardware_replicant_libsamsung-ipc-b73c6cf5a94e1c7f9be38917f26da37e13fe452e.zip |
Rework handlers and ipc functions for better consistency
Detailed list of the changes introduced by this commit:
* Rename ipc_client_bootstrap_modem to ipc_client_bootstrap
* Rename ipc_client_new/free to ipc_client_create/destroy
* Rename log_handler to log_callback and change arguments order
* Remove handlers common data and fd mechanisms
* Set transport, power and gprs common data for handlers
* Add data_create and data_destroy handlers
* Rework arguments order for handlers
* Add poll transport handler
* Remove functions types typedefs
* Remove dumb ipc_client_send_* functions
* Remove ipc_client_gprs_handlers_available
* Adapt device files for the new API changes
* Adapt modemctrl for the new API changes
Change-Id: Ia9ba1045dbbf9f5e31a201aa8629b49019158972
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/ipc_devices.h')
-rw-r--r-- | samsung-ipc/ipc_devices.h | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/samsung-ipc/ipc_devices.h b/samsung-ipc/ipc_devices.h index 8c7dc95..17c16f1 100644 --- a/samsung-ipc/ipc_devices.h +++ b/samsung-ipc/ipc_devices.h @@ -39,38 +39,37 @@ extern struct ipc_device_desc ipc_devices[]; extern int ipc_devices_count; /* crespo */ -extern struct ipc_ops crespo_fmt_ops; -extern struct ipc_ops crespo_rfs_ops; -extern struct ipc_handlers crespo_default_handlers; -extern struct ipc_gprs_specs crespo_2_6_35_gprs_specs; -extern struct ipc_gprs_specs crespo_3_0_gprs_specs; +extern struct ipc_ops crespo_ipc_fmt_ops; +extern struct ipc_ops crespo_ipc_rfs_ops; +extern struct ipc_handlers crespo_ipc_handlers; +extern struct ipc_gprs_specs crespo_2_6_35_ipc_gprs_specs; +extern struct ipc_gprs_specs crespo_3_0_ipc_gprs_specs; /* aries */ -extern struct ipc_ops aries_fmt_ops; -extern struct ipc_ops aries_rfs_ops; -extern struct ipc_handlers aries_default_handlers; -extern struct ipc_gprs_specs aries_gprs_specs; +extern struct ipc_ops aries_ipc_fmt_ops; +extern struct ipc_ops aries_ipc_rfs_ops; +extern struct ipc_handlers aries_ipc_handlers; +extern struct ipc_gprs_specs aries_ipc_gprs_specs; /* galaxys2 */ -extern struct ipc_ops galaxys2_fmt_ops; -extern struct ipc_ops galaxys2_fmt_ops; -extern struct ipc_ops galaxys2_rfs_ops; -extern struct ipc_handlers galaxys2_default_handlers; -extern struct ipc_gprs_specs galaxys2_gprs_specs; +extern struct ipc_ops galaxys2_ipc_fmt_ops; +extern struct ipc_ops galaxys2_ipc_rfs_ops; +extern struct ipc_handlers galaxys2_ipc_handlers; +extern struct ipc_gprs_specs galaxys2_ipc_gprs_specs; /* maguro */ -extern struct ipc_ops maguro_fmt_ops; -extern struct ipc_ops maguro_rfs_ops; -extern struct ipc_handlers maguro_default_handlers; -extern struct ipc_gprs_specs maguro_gprs_specs; -extern struct ipc_nv_data_specs maguro_nv_data_specs; +extern struct ipc_ops maguro_ipc_fmt_ops; +extern struct ipc_ops maguro_ipc_rfs_ops; +extern struct ipc_handlers maguro_ipc_handlers; +extern struct ipc_gprs_specs maguro_ipc_gprs_specs; +extern struct ipc_nv_data_specs maguro_ipc_nv_data_specs; /* piranha */ -extern struct ipc_ops piranha_fmt_ops; -extern struct ipc_ops piranha_rfs_ops; -extern struct ipc_handlers piranha_default_handlers; -extern struct ipc_gprs_specs piranha_gprs_specs; -extern struct ipc_nv_data_specs piranha_nv_data_specs; +extern struct ipc_ops piranha_ipc_fmt_ops; +extern struct ipc_ops piranha_ipc_rfs_ops; +extern struct ipc_handlers piranha_ipc_handlers; +extern struct ipc_gprs_specs piranha_ipc_gprs_specs; +extern struct ipc_nv_data_specs piranha_ipc_nv_data_specs; #endif |