diff options
author | Simon Busch <morphis@gravedo.de> | 2012-08-30 17:46:34 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2012-08-30 17:46:34 +0200 |
commit | d9eae1106d51f69168b44cf81a46a604ad6fc8ef (patch) | |
tree | 9274cd604ba8080da405f10159ca5c0914388c4d /include/net.h | |
parent | 63d90f703a0a8b886415797584059be9c2cc1023 (diff) | |
download | external_libsamsung-ipc-d9eae1106d51f69168b44cf81a46a604ad6fc8ef.zip external_libsamsung-ipc-d9eae1106d51f69168b44cf81a46a604ad6fc8ef.tar.gz external_libsamsung-ipc-d9eae1106d51f69168b44cf81a46a604ad6fc8ef.tar.bz2 |
net: renaming some parts to be more reasonable
Diffstat (limited to 'include/net.h')
-rw-r--r-- | include/net.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/include/net.h b/include/net.h index 2d5cd8b..c201631 100644 --- a/include/net.h +++ b/include/net.h @@ -63,14 +63,19 @@ #define IPC_NET_MODE_SEL_UMTS_ONLY 0x03 struct ipc_net_regist_get { + /* ignore, ipc_net_regist_get_setup will do for you */ unsigned char net; + /* IPC_NET_SERVICE_DOMAIN_.. */ unsigned char domain; } __attribute__((__packed__)); -struct ipc_net_regist { - unsigned char act; // IPC_NET_ACCESS_TECHNOLOGY_... - unsigned char domain; // IPC_NET_SERVICE_DOMAIN_... - unsigned char reg_state; // IPC_NET_REGISTRATION_STATE_... +struct ipc_net_regist_response { + /* IPC_NET_ACCESS_TECHNOLOGY_... */ + unsigned char act; + /* IPC_NET_SERVICE_DOMAIN_... */ + unsigned char domain; + /* IPC_NET_REGISTRATION_STATE_... */ + unsigned char reg_state; unsigned char edge; unsigned short lac; unsigned int cid; @@ -102,8 +107,8 @@ struct ipc_net_plmn_sel_set { unsigned char act; // IPC_NET_ACCESS_TECHNOLOGY_... } __attribute__((__packed__)); -void ipc_net_regist_setup(struct ipc_net_regist_get *message, unsigned char domain); -void ipc_net_plmn_sel_setup(struct ipc_net_plmn_sel_set *message, unsigned char mode, char *plmn, unsigned char act); +void ipc_net_regist_get_setup(struct ipc_net_regist_get *message, unsigned char domain); +void ipc_net_plmn_sel_set_setup(struct ipc_net_plmn_sel_set *message, unsigned char mode, char *plmn, unsigned char act); #endif |