aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-26 22:25:51 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-26 22:25:51 +0200
commit2cdecfab4e695e1f48e7c302f21c46035160cae2 (patch)
tree9421f85e6ad529d392818887e4bc99e786f0cf5a /include
parent74e32c068d7e95275a0d237ecaf9f057e5d6f064 (diff)
downloadexternal_libsamsung-ipc-2cdecfab4e695e1f48e7c302f21c46035160cae2.zip
external_libsamsung-ipc-2cdecfab4e695e1f48e7c302f21c46035160cae2.tar.gz
external_libsamsung-ipc-2cdecfab4e695e1f48e7c302f21c46035160cae2.tar.bz2
Offset is unsigned int
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
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);