diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-02-09 13:51:38 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-02-09 13:51:38 +0100 |
commit | 828f125ee5957ee3f64d45329f5ac261a2a3c1a7 (patch) | |
tree | 7cb2c2433a4fae20f660dd60819350034ea1ebeb /include/sec.h | |
parent | 6cb0b59e3f0a7b8f2c9690b7e8d171d88d000270 (diff) | |
download | external_libsamsung-ipc-828f125ee5957ee3f64d45329f5ac261a2a3c1a7.zip external_libsamsung-ipc-828f125ee5957ee3f64d45329f5ac261a2a3c1a7.tar.gz external_libsamsung-ipc-828f125ee5957ee3f64d45329f5ac261a2a3c1a7.tar.bz2 |
Consistent coding style in helpers
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/sec.h')
-rw-r--r-- | include/sec.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/include/sec.h b/include/sec.h index 052737a..48968e9 100644 --- a/include/sec.h +++ b/include/sec.h @@ -2,7 +2,7 @@ * This file is part of libsamsung-ipc. * * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> - * Copyright (C) 2011-2013 Paul Kocialkowski <contact@paulk.fr> + * Copyright (C) 2011-2014 Paul Kocialkowski <contact@paulk.fr> * * libsamsung-ipc is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -166,15 +166,16 @@ struct ipc_sec_lock_infomation_response_data { * Helpers */ -void ipc_sec_pin_status_setup(struct ipc_sec_pin_status_request_data *message, - unsigned char pin_type, char *pin1, char *pin2); -void ipc_sec_lock_infomation_setup(struct ipc_sec_lock_infomation_request_data *message, - unsigned char pin_type); -void ipc_sec_phone_lock_request_set_setup(struct ipc_sec_phone_lock_request_set_data *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_setup(struct ipc_sec_change_locking_pw_data *message, - int type, char *passwd_old, char *passwd_new); +int ipc_sec_pin_status_setup(struct ipc_sec_pin_status_request_data *data, + unsigned char type, const char *pin1, const char *pin2); +int ipc_sec_phone_lock_request_set_setup(struct ipc_sec_phone_lock_request_set_data *data, + unsigned char facility_type, unsigned char active, const char *password); +int ipc_sec_change_locking_pw_setup(struct ipc_sec_change_locking_pw_data *data, + unsigned char facility_type, const char *password_old, + const char *password_new); +void *ipc_sec_rsim_access_get_file_data(const void *data, size_t size); +int ipc_sec_lock_infomation_setup(struct ipc_sec_lock_infomation_request_data *data, + unsigned char type); #endif |