qb_ipcs_enforce_buffer_size - Enforce the max buffer size clients must use from the server side.
Contents
Copyright
Copyright (C) 2010-2020 Red Hat, Inc.
LIBQB 2023-07-21 QB_IPCS_ENFORCE_BUFFER_SIZE(3)
Description
Name
qb_ipcs_enforce_buffer_size - Enforce the max buffer size clients must use from the server side.
Note
Setting this will force client connections to use at least max_buf_size bytes as their buffer size. If
this value is not set on the server, the clients enforce their own buffer sizes.
Params
sipcserverinstancemax_buf_sizerepresentedinbytes
See Also
qb_ipcs_response_send(3), qb_ipcs_ref(3), qb_ipcs_unref(3), qb_ipcs_connection_auth_set(3), qb_ipcs_service_context_get(3), qb_ipcs_connection_ref(3), qb_ipcs_connection_next_get(3), qb_ipcs_stats_get(3), qb_ipcs_connection_unref(3), qb_ipcs_context_set(3), qb_ipcs_poll_handlers_set(3), qb_ipcs_request_rate_limit(3), qb_ipcs_disconnect(3), qb_ipcs_connection_first_get(3), qb_ipcs_destroy(3), qb_ipcs_event_send(3), qb_ipcs_connection_stats_get_2(3), qb_ipcs_service_context_set(3), qb_ipcs_connection_stats_get(3), qb_ipcs_service_id_get(3), qb_ipcs_context_get(3), qb_ipcs_connection_get_buffer_size(3), qb_ipcs_create(3), qb_ipcs_run(3), qb_ipcs_event_sendv(3), qb_ipcs_connection_service_context_get(3), qb_ipcs_response_sendv(3)
Synopsis
#include<qb/qbipcs.h>voidqb_ipcs_enforce_buffer_size(
qb_ipcs_service_t*s, /* ipc server instance */
uint32_tmax_buf_size /* represented in bytes */
);
