aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/call.h12
-rw-r--r--include/gprs.h6
-rw-r--r--include/net.h6
-rw-r--r--include/rfs.h6
-rw-r--r--include/samsung-ipc.h42
-rw-r--r--include/sec.h12
-rw-r--r--include/sms.h3
7 files changed, 58 insertions, 29 deletions
diff --git a/include/call.h b/include/call.h
index 8e981ea..9cad5fc 100644
--- a/include/call.h
+++ b/include/call.h
@@ -126,11 +126,15 @@ struct ipc_call_cont_dtmf {
* Helpers
*/
-void ipc_call_outgoing_setup(struct ipc_call_outgoing *message, unsigned char type, unsigned char identity, unsigned char prefix, char *number);
+void ipc_call_outgoing_setup(struct ipc_call_outgoing *message, unsigned char type,
+ unsigned char identity, unsigned char prefix, char *number);
unsigned int ipc_call_list_response_get_num_entries(struct ipc_message_info *response);
-struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_message_info *response, unsigned int num);
-char *ipc_call_list_response_get_entry_number(struct ipc_message_info *response, unsigned int num);
-unsigned char *ipc_call_cont_dtmf_burst_pack(struct ipc_call_cont_dtmf *message, unsigned char *burst, int burst_len);
+struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_message_info *response,
+ unsigned int num);
+char *ipc_call_list_response_get_entry_number(struct ipc_message_info *response,
+ unsigned int num);
+unsigned char *ipc_call_cont_dtmf_burst_pack(struct ipc_call_cont_dtmf *message,
+ unsigned char *burst, int burst_len);
#endif
diff --git a/include/gprs.h b/include/gprs.h
index f3f5fc1..e5ce416 100644
--- a/include/gprs.h
+++ b/include/gprs.h
@@ -139,8 +139,10 @@ struct ipc_gprs_port_list {
*/
void ipc_gprs_port_list_setup(struct ipc_gprs_port_list *message);
-void ipc_gprs_pdp_context_setup(struct ipc_gprs_pdp_context_set *message, unsigned char cid, int enable, char *username, char *password);
-void ipc_gprs_define_pdp_context_setup(struct ipc_gprs_define_pdp_context *message, unsigned char cid, int enable, char *apn);
+void ipc_gprs_pdp_context_setup(struct ipc_gprs_pdp_context_set *message,
+ unsigned char cid, int enable, char *username, char *password);
+void ipc_gprs_define_pdp_context_setup(struct ipc_gprs_define_pdp_context *message,
+ unsigned char cid, int enable, char *apn);
#endif
diff --git a/include/net.h b/include/net.h
index 37a5338..f4be0cc 100644
--- a/include/net.h
+++ b/include/net.h
@@ -137,8 +137,10 @@ struct ipc_net_plmn_sel_set {
* Helpers
*/
-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);
+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
diff --git a/include/rfs.h b/include/rfs.h
index 7523ee1..481cb24 100644
--- a/include/rfs.h
+++ b/include/rfs.h
@@ -84,8 +84,10 @@ int nv_data_md5_check(struct ipc_client *client);
int nv_data_read(struct ipc_client *client, int offset, int length, char *buf);
int nv_data_write(struct ipc_client *client, int offset, int length, char *buf);
-void ipc_rfs_send_io_confirm_for_nv_write_item(struct ipc_client *client, struct ipc_message_info *info);
-void ipc_rfs_send_io_confirm_for_nv_read_item(struct ipc_client *client, struct ipc_message_info *info);
+void ipc_rfs_send_io_confirm_for_nv_write_item(struct ipc_client *client,
+ struct ipc_message_info *info);
+void ipc_rfs_send_io_confirm_for_nv_read_item(struct ipc_client *client,
+ struct ipc_message_info *info);
#endif
diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h
index 3dd9e3c..f35feb7 100644
--- a/include/samsung-ipc.h
+++ b/include/samsung-ipc.h
@@ -65,10 +65,14 @@ struct ipc_client* ipc_client_new(int client_type);
struct ipc_client *ipc_client_new_for_device(int device_type, int client_type);
int ipc_client_free(struct ipc_client *client);
-int ipc_client_set_log_handler(struct ipc_client *client, ipc_client_log_handler_cb log_handler_cb, void *user_data);
+int ipc_client_set_log_handler(struct ipc_client *client,
+ ipc_client_log_handler_cb log_handler_cb, void *user_data);
-int ipc_client_set_handlers(struct ipc_client *client, struct ipc_handlers *handlers);
-int ipc_client_set_io_handlers(struct ipc_client *client, ipc_io_handler_cb read, void *read_data, ipc_io_handler_cb write, void *write_data);
+int ipc_client_set_handlers(struct ipc_client *client,
+ struct ipc_handlers *handlers);
+int ipc_client_set_io_handlers(struct ipc_client *client,
+ ipc_io_handler_cb read, void *read_data,
+ ipc_io_handler_cb write, void *write_data);
int ipc_client_set_handlers_common_data(struct ipc_client *client, void *data);
void *ipc_client_get_handlers_common_data(struct ipc_client *client);
@@ -86,26 +90,36 @@ int ipc_client_gprs_handlers_available(struct ipc_client *client);
int ipc_client_gprs_activate(struct ipc_client *client, int cid);
int ipc_client_gprs_deactivate(struct ipc_client *client, int cid);
char *ipc_client_gprs_get_iface(struct ipc_client *client, int cid);
-int ipc_client_gprs_get_capabilities(struct ipc_client *client, struct ipc_client_gprs_capabilities *cap);
-
-int ipc_client_recv(struct ipc_client *client, struct ipc_message_info *response);
-void ipc_client_response_free(struct ipc_client *client, struct ipc_message_info *response);
+int ipc_client_gprs_get_capabilities(struct ipc_client *client,
+ struct ipc_client_gprs_capabilities *cap);
/* Convenience functions for ipc_send */
-void ipc_client_send(struct ipc_client *client, const unsigned short command, const char type, unsigned char *data, const int length, unsigned char mseq);
-void ipc_client_send_get(struct ipc_client *client, const unsigned short command, unsigned char mseq);
-void ipc_client_send_exec(struct ipc_client *client, const unsigned short command, unsigned char mseq);
+void ipc_client_send(struct ipc_client *client, const unsigned short command,
+ const char type, unsigned char *data, const int length, unsigned char mseq);
+void ipc_client_send_get(struct ipc_client *client,
+ const unsigned short command,unsigned char mseq);
+void ipc_client_send_exec(struct ipc_client *client,
+ const unsigned short command, unsigned char mseq);
+
+int ipc_client_recv(struct ipc_client *client,
+ struct ipc_message_info *response);
+void ipc_client_response_free(struct ipc_client *client,
+ struct ipc_message_info *response);
/* Utility functions */
-void ipc_client_log_recv(struct ipc_client *client, struct ipc_message_info *response, const char *prefix);
-void ipc_client_log_send(struct ipc_client *client, struct ipc_message_info *request, const char *prefix);
+void ipc_client_log_recv(struct ipc_client *client,
+ struct ipc_message_info *response, const char *prefix);
+void ipc_client_log_send(struct ipc_client *client,
+ struct ipc_message_info *request, const char *prefix);
const char *ipc_response_type_to_str(int type);
const char *ipc_request_type_to_str(int type);
const char *ipc_command_to_str(int command);
void ipc_client_hex_dump(struct ipc_client *client, void *data, int size);
-void *ipc_client_mtd_read(struct ipc_client *client, char *mtd_name, int size, int block_size);
-void *ipc_client_file_read(struct ipc_client *client, char *file_name, int size, int block_size);
+void *ipc_client_mtd_read(struct ipc_client *client, char *mtd_name, int size,
+ int block_size);
+void *ipc_client_file_read(struct ipc_client *client, char *file_name, int size,
+ int block_size);
/*
* Samsung-IPC protocol
diff --git a/include/sec.h b/include/sec.h
index 9a3667a..aa8693e 100644
--- a/include/sec.h
+++ b/include/sec.h
@@ -185,11 +185,15 @@ struct ipc_sec_sim_icc_type {
* Helpers
*/
-void ipc_sec_pin_status_set_setup(struct ipc_sec_pin_status_set *message, unsigned char pin_type, char *pin1, char *pin2);
-void ipc_sec_lock_info_get_setup(struct ipc_sec_lock_info_get *message, unsigned char pin_type);
-void ipc_sec_phone_lock_set_setup(struct ipc_sec_phone_lock_set *message, int pin_type, int enable, char *passwd);
+void ipc_sec_pin_status_set_setup(struct ipc_sec_pin_status_set *message,
+ unsigned char pin_type, char *pin1, char *pin2);
+void ipc_sec_lock_info_get_setup(struct ipc_sec_lock_info_get *message,
+ unsigned char pin_type);
+void ipc_sec_phone_lock_set_setup(struct ipc_sec_phone_lock_set *message,
+ int pin_type, int enable, char *passwd);
char *ipc_sec_rsim_access_response_get_file_data(struct ipc_message_info *response);
-void ipc_sec_change_locking_pw_set_setup(struct ipc_sec_change_locking_pw_set *message, int type, char *passwd_old, char *passwd_new);
+void ipc_sec_change_locking_pw_set_setup(struct ipc_sec_change_locking_pw_set *message,
+ int type, char *passwd_old, char *passwd_new);
#endif
diff --git a/include/sms.h b/include/sms.h
index 243558d..e75d33d 100644
--- a/include/sms.h
+++ b/include/sms.h
@@ -105,7 +105,8 @@ struct ipc_sms_deliver_report_response {
unsigned short error;
} __attribute__((__packed__));
-unsigned char *ipc_sms_send_msg_pack(struct ipc_sms_send_msg_request *msg, char *smsc, unsigned char *pdu, int length);
+unsigned char *ipc_sms_send_msg_pack(struct ipc_sms_send_msg_request *msg,
+ char *smsc, unsigned char *pdu, int length);
#endif