aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-26 15:53:11 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-26 15:53:11 +0200
commitbfb20b0c1fb891360524f02eed79c8dbe7278626 (patch)
tree5b56e6090dd25dffc7a4240b1ff1975c477f94b2 /include
parent9691203081b57ea32e056a32007683a99323144f (diff)
downloadexternal_libsamsung-ipc-bfb20b0c1fb891360524f02eed79c8dbe7278626.zip
external_libsamsung-ipc-bfb20b0c1fb891360524f02eed79c8dbe7278626.tar.gz
external_libsamsung-ipc-bfb20b0c1fb891360524f02eed79c8dbe7278626.tar.bz2
utils: Shared libraries don't allow for internal functions
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r--include/samsung-ipc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h
index e5f24d1..5be2ac9 100644
--- a/include/samsung-ipc.h
+++ b/include/samsung-ipc.h
@@ -129,6 +129,19 @@ int ipc_rfs_header_setup(struct ipc_rfs_header *header,
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);
+int file_data_write(const char *path, const void *data, size_t size,
+ size_t chunk_size, size_t 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);
+int sysfs_value_write(const char *path, int value);
+char *sysfs_string_read(const char *path, size_t length);
+int sysfs_string_write(const char *path, const char *buffer, size_t length);
+char *data2string(const void *data, size_t size);
+void *string2data(const char *string, size_t *size_p);
+
/*
* Samsung-IPC protocol
*/