rpma_peer_cfg_new3
Create a new peer configuration object
Usage
#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_new(struct rpma_peer_cfg **pcfg_ptr);
Overview
rpma_peer_cfg_new() creates a new peer configuration object.
Return value
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.
Errors
rpma_peer_cfg_new() can fail with the following errors:
•
|
RPMA_E_INVAL - pcfg_ptr is NULL |
|---|---|
•
|
RPMA_E_NOMEM - out of memory |
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.