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

NAME

6       qb_ipcc_sendv_recv  -  This is a convenience function that simply sends
7       and then recvs.
8
9

SYNOPSIS

11       #include <qb/qbipcc.h>
12
13       ssize_t qb_ipcc_sendv_recv(
14           qb_ipcc_connection_t   *c,           /* connection instance */
15           const struct iovec     *iov,         /* pointer to an iovec struct to send */
16           uint32_t                iov_len,     /* the number of iovecs used */
17           void                   *msg_ptr,     /* pointer to a message buffer to receive into */
18           size_t                  msg_len,     /* the size of the buffer */
19           int32_t                 ms_timeout   /* max time to wait for a response*/
20       );
21

PARAMS

23       c          connection instance
24
25       iov        pointer to an iovec struct to send
26
27       iov_len    the number of iovecs used
28
29       msg_ptr    pointer to a message buffer to receive into
30
31       msg_len    the size of the buffer
32
33       ms_timeout max time to wait for a response
34

DESCRIPTION

NOTE

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

SEE ALSO

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