aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rfs.h7
-rw-r--r--include/samsung-ipc.h4
2 files changed, 6 insertions, 5 deletions
diff --git a/include/rfs.h b/include/rfs.h
index acfd018..daa3f61 100644
--- a/include/rfs.h
+++ b/include/rfs.h
@@ -70,11 +70,12 @@ int ipc_nv_data_backup_check(struct ipc_client *client);
int ipc_nv_data_backup(struct ipc_client *client);
int ipc_nv_data_restore(struct ipc_client *client);
void *ipc_nv_data_load(struct ipc_client *client);
-void *ipc_nv_data_read(struct ipc_client *client, size_t size, size_t offset);
+void *ipc_nv_data_read(struct ipc_client *client, size_t size,
+ unsigned int offset);
int ipc_nv_data_write(struct ipc_client *client, const void *data, size_t size,
- size_t offset);
+ unsigned int offset);
void *ipc_rfs_nv_read_item_response_setup(const void *data, size_t size,
- size_t offset);
+ unsigned int offset);
#endif
diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h
index 3aa6808..91300da 100644
--- a/include/samsung-ipc.h
+++ b/include/samsung-ipc.h
@@ -130,9 +130,9 @@ int ipc_rfs_message_setup(const struct ipc_rfs_header *header,
struct ipc_message *message);
void *file_data_read(const char *path, size_t size, size_t chunk_size,
- size_t offset);
+ unsigned int offset);
int file_data_write(const char *path, const void *data, size_t size,
- size_t chunk_size, size_t offset);
+ size_t chunk_size, unsigned int offset);
int network_iface_up(const char *iface, int domain, int type);
int network_iface_down(const char *iface, int domain, int type);
int sysfs_value_read(const char *path);