rpma_peer_cfg_new(3) | RPMA Programmer's Manual | rpma_peer_cfg_new(3) |
rpma_peer_cfg_new - create a new peer configuration object
#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_new(struct rpma_peer_cfg **pcfg_ptr);
rpma_peer_cfg_new() creates a new peer configuration object.
The rpma_peer_cfg_new() function returns 0 on success or a negative error code on failure. rpm_peer_cfg_new() does not set *pcfg_ptr value on failure.
rpma_peer_cfg_new() can fail with the following errors:
rpma_conn_apply_remote_peer_cfg(3), rpma_peer_cfg_delete(3), rpma_peer_cfg_from_descriptor(3), rpma_peer_cfg_get_descriptor(3), rpma_peer_cfg_get_descriptor_size(3), rpma_peer_cfg_get_direct_write_to_pmem(3), rpma_peer_cfg_set_direct_write_to_pmem(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |