1QB_IPCC_GET_BUFFER_SIZE(3) libqb Programmer's ManualQB_IPCC_GET_BUFFER_SIZE(3)
2
3
4

NAME

6       qb_ipcc_get_buffer_size - What is the actual buffer size used after the
7       connection.
8
9

SYNOPSIS

11       #include <qb/qbipcc.h>
12
13       int32_t qb_ipcc_get_buffer_size(
14           qb_ipcc_connection_t   *c /* connection instance */
15       );
16

PARAMS

18       c connection instance
19

DESCRIPTION

RETURN VALUE

22       connection size in bytes or -error code
23

NOTE

25       The buffer size is guaranteed to be at least  the  size  of  the  value
26       given  in qb_ipcc_connect, but it is possible the server will enforce a
27       larger size depending on the implementation.  If  the  server  side  is
28       known to enforce a buffer size, use this function after the client con‐
29       nection is established to retrieve the buffer size in use. It is impor‐
30       tant  for  the client side to know the buffer size in use so the client
31       can successfully retrieve large server events.
32

SEE ALSO

34       qb_ipcc_send(3), qb_ipcc_sendv_recv(3), qb_ipcc_recv(3),
35       qb_ipcc_event_recv(3), qb_ipcc_connect_async(3),
36       qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3),
37       qb_ipcc_connect_continue(3), qb_ipcc_auth_get(3), qb_ipcc_sendv(3),
38       qb_ipcc_context_set(3), qb_ipcc_context_get(3),
39       qb_ipcc_verify_dgram_max_msg_size(3), qb_ipcc_connect(3),
40       qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)
41
43       Copyright (C) 2010-2020 Red Hat, Inc.
44
45
46
47LIBQB                             2022-03-23        QB_IPCC_GET_BUFFER_SIZE(3)
Impressum