rpma_conn_req_get_private_data(3) | RPMA Programmer's Manual | rpma_conn_req_get_private_data(3) |
rpma_conn_req_get_private_data - get a pointer to the request's private data
#include <librpma.h>
struct rpma_conn_req;
struct rpma_conn_private_data;
int rpma_conn_req_get_private_data(const struct rpma_conn_req *req,
struct rpma_conn_private_data *pdata);
rpma_conn_req_get_private_data() obtains the pointer to the connection's private data given by the other side of the connection before the connection is established.
The rpma_conn_req_get_private_data() function returns 0 on success or a negative error code on failure. rpma_conn_req_get_private_data() does not set *pdata value on failure.
rpma_conn_req_get_private_data() can fail with the following error:
rpma_conn_get_private_data(3), rpma_ep_next_conn_req(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |