1QB_IPCC_EVENT_RECV(3)      libqb Programmer's Manual     QB_IPCC_EVENT_RECV(3)
2
3
4

NAME

6       qb_ipcc_event_recv - Receive an event.
7
8

SYNOPSIS

10       #include <qb/qbipcc.h>
11
12       ssize_t qb_ipcc_event_recv(
13           qb_ipcc_connection_t   *c,           /* connection instance */
14           void                   *msg_ptr,     /* pointer to a message buffer to receive into */
15           size_t                  msg_len,     /* the size of the buffer */
16           /*
17            * time in milliseconds to wait for a message 0 == no wait, negative ==
18            * block, positive == wait X ms.
19            */
20           int32_t                 ms_timeout
21       );
22

PARAMS

24       c          connection instance
25
26       msg_ptr    pointer to a message buffer to receive into
27
28       msg_len    the size of the buffer
29
30       ms_timeout  time  in  milliseconds  to wait for a message 0 == no wait,
31       negative == block, positive == wait X ms.
32

DESCRIPTION

RETURN VALUE

35       size of the message or error (-errno)
36

NOTE

38       that msg_ptr will include a qb_ipc_response_header at the  top  of  the
39       message.
40

SEE ALSO

42       qb_ipcc_send(3), qb_ipcc_sendv_recv(3), qb_ipcc_recv(3),
43       qb_ipcc_connect_async(3), qb_ipcc_fc_enable_max_set(3),
44       qb_ipcc_is_connected(3), qb_ipcc_connect_continue(3),
45       qb_ipcc_auth_get(3), qb_ipcc_sendv(3), qb_ipcc_context_set(3),
46       qb_ipcc_context_get(3), qb_ipcc_verify_dgram_max_msg_size(3),
47       qb_ipcc_get_buffer_size(3), qb_ipcc_connect(3), qb_ipcc_disconnect(3),
48       qb_ipcc_fd_get(3)
49
51       Copyright (C) 2010-2020 Red Hat, Inc.
52
53
54
55LIBQB                             2023-07-21             QB_IPCC_EVENT_RECV(3)
Impressum