diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-12-18 12:31:18 +0100 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2015-01-26 17:56:16 +0100 |
commit | 6a931a1185aa8170636b8f55c38ad91af6f897f6 (patch) | |
tree | 4e48cffd9fbda30787692cdeb4294733edc577ff /src/kiro-server.h | |
parent | fb72ad6a4685274d37a73b048d50a7761c19f3c6 (diff) | |
download | kiro-6a931a1185aa8170636b8f55c38ad91af6f897f6.tar.gz kiro-6a931a1185aa8170636b8f55c38ad91af6f897f6.tar.bz2 kiro-6a931a1185aa8170636b8f55c38ad91af6f897f6.tar.xz kiro-6a931a1185aa8170636b8f55c38ad91af6f897f6.zip |
KIRO Server can now issue a client reallocation command
Diffstat (limited to 'src/kiro-server.h')
-rw-r--r-- | src/kiro-server.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/kiro-server.h b/src/kiro-server.h index 7e42159..655140a 100644 --- a/src/kiro-server.h +++ b/src/kiro-server.h @@ -129,6 +129,19 @@ void kiro_server_free (KiroServer *server); */ int kiro_server_start (KiroServer *server, const char *bind_addr, const char *bind_port, void *mem, size_t mem_size); + +/** + * kiro_server_realloc - Change the memory that is provided by the server + * @server: #KiroServer to perform the operation on + * @mem: (transfer none): Pointer to the memory that is to be provided + * @mem_size: Size in bytes of the given memory + * Description: + * Changes the memory that is provided by the server. All connected clients + * will automatically be informed about this change. + */ +void kiro_server_realloc (KiroServer *self, void* mem, size_t mem_size); + + /** * kiro_server_stop - Stops the server * @server: #KiroServer to perform the operation on |