aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-23 18:02:53 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-30 03:49:50 +0100
commitaa834b3c317b5938264d48a2ee2f24ea5278cf0d (patch)
tree178d30b531efec319e5ff35ccafb5800915839a1 /include
parentac9895e996e563cff42bb18e717cc44677f39066 (diff)
downloadhardware_replicant_libsamsung-ipc-aa834b3c317b5938264d48a2ee2f24ea5278cf0d.tar.gz
hardware_replicant_libsamsung-ipc-aa834b3c317b5938264d48a2ee2f24ea5278cf0d.tar.bz2
hardware_replicant_libsamsung-ipc-aa834b3c317b5938264d48a2ee2f24ea5278cf0d.zip
ipc_nv_data_md5_calculate: print errors when ipc_client is defined.
Without that, there are no ways to know the cause of failures with ipc_nv_data_md5_calculate. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'include')
-rw-r--r--include/rfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rfs.h b/include/rfs.h
index 7950f16..a374ce0 100644
--- a/include/rfs.h
+++ b/include/rfs.h
@@ -67,8 +67,9 @@ struct ipc_rfs_nv_write_item_response_data {
* Helpers
*/
-char *ipc_nv_data_md5_calculate(const char *path, const char *secret,
- size_t size, size_t chunk_size);
+char *ipc_nv_data_md5_calculate(struct ipc_client *client, const char *path,
+ const char *secret, size_t size,
+ size_t chunk_size);
int ipc_nv_data_path_check(struct ipc_client *client);
int ipc_nv_data_md5_path_check(struct ipc_client *client);
int ipc_nv_data_backup_path_check(struct ipc_client *client);