1QB_IPCC_SENDV_RECV(3) libqb Programmer's Manual QB_IPCC_SENDV_RECV(3)
2
3
4
6 qb_ipcc_sendv_recv - This is a convenience function that simply sends
7 and then recvs.
8
10 #include <qb/qbipcc.h>
11
12 ssize_t qb_ipcc_sendv_recv(
13 qb_ipcc_connection_t *c,
14 const struct iovec *iov,
15 uint32_t iov_len,
16 void *msg_ptr,
17 size_t msg_len,
18 int32_t ms_timeout
19 );
20
22 c connection instance
23
24 iov pointer to an iovec struct to send
25
26 iov_len the number of iovecs used
27
28 msg_ptr pointer to a message buffer to receive into
29
30 msg_len the size of the buffer
31
32 ms_timeout max time to wait for a response
33
36 that msg_ptr will include a qb_ipc_response_header at the top of the
37 message.
38
40 qb_ipcc_send(3), qb_ipcc_recv(3), qb_ipcc_event_recv(3),
41 qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3),
42 qb_ipcc_sendv(3), qb_ipcc_context_set(3), qb_ipcc_context_get(3),
43 qb_ipcc_verify_dgram_max_msg_size(3), qb_ipcc_get_buffer_size(3),
44 qb_ipcc_connect(3), qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)
45
47 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
48
49
50
51LIBQB 2020-07-30 QB_IPCC_SENDV_RECV(3)