diff options
author | Determinant <[email protected]> | 2020-02-14 15:41:54 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2020-02-14 15:41:54 -0500 |
commit | 4fed5578db7714d8317d1bfe9262143d25034d00 (patch) | |
tree | b3b60810770eef00238ce35cabca2cc2216ec104 /src | |
parent | 853a6503391a05a3f60b50bb40a7dd4f35588293 (diff) |
add more to C APIv0.1.1
Diffstat (limited to 'src')
-rw-r--r-- | src/network.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network.cpp b/src/network.cpp index 4717953..e3eb56c 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -23,6 +23,14 @@ msgnetwork_t *msgnetwork_new(const eventcontext_t *ec, const msgnetwork_config_t void msgnetwork_free(const msgnetwork_t *self) { delete self; } +void msgnetwork_config_max_msg_size(msgnetwork_config_t *self, size_t size) { + self->max_msg_size(size); +} + +void msgnetwork_config_max_msg_queue_size(msgnetwork_config_t *self, size_t size) { + self->max_msg_queue_size(size); +} + void msgnetwork_config_burst_size(msgnetwork_config_t *self, size_t burst_size) { self->burst_size(burst_size); } |