qb_ipcc_sendv_recv - This is a convenience function that simply sends and then recvs.
Contents
Copyright
Copyright (C) 2010-2020 Red Hat, Inc.
LIBQB 2023-07-21 QB_IPCC_SENDV_RECV(3)
Description
Name
qb_ipcc_sendv_recv - This is a convenience function that simply sends and then recvs.
Note
that msg_ptr will include a qb_ipc_response_header at the top of the message.
Params
cconnectioninstanceiovpointertoaniovecstructtosendiov_lenthenumberofiovecsusedmsg_ptrpointertoamessagebuffertoreceiveintomsg_lenthesizeofthebufferms_timeoutmaxtimetowaitforaresponse
See Also
qb_ipcc_send(3), qb_ipcc_recv(3), qb_ipcc_event_recv(3), qb_ipcc_connect_async(3), qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3), qb_ipcc_connect_continue(3), qb_ipcc_auth_get(3), qb_ipcc_sendv(3), qb_ipcc_context_set(3), qb_ipcc_context_get(3), qb_ipcc_verify_dgram_max_msg_size(3), qb_ipcc_get_buffer_size(3), qb_ipcc_connect(3), qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)
Synopsis
#include<qb/qbipcc.h>ssize_tqb_ipcc_sendv_recv(
qb_ipcc_connection_t*c, /* connection instance */
conststructiovec*iov, /* pointer to an iovec struct to send */
uint32_tiov_len, /* the number of iovecs used */
void*msg_ptr, /* pointer to a message buffer to receive into */
size_tmsg_len, /* the size of the buffer */
int32_tms_timeout /* max time to wait for a response*/
);
