From 4fed5578db7714d8317d1bfe9262143d25034d00 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 14 Feb 2020 15:41:54 -0500 Subject: add more to C API --- src/network.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2