Provided by: librpma-dev_1.0.0-1_amd64 bug

NAME

       rpma_conn_apply_remote_peer_cfg - apply remote peer cfg to the connection

SYNOPSIS

             #include <librpma.h>

             struct rpma_conn;
             struct rpma_peer_cfg;
             int rpma_conn_apply_remote_peer_cfg(struct rpma_conn *conn,
                             const struct rpma_peer_cfg *pcfg);

DESCRIPTION

       rpma_conn_apply_remote_peer_cfg() applies the remote peer configuration to the connection.

RETURN VALUE

       The  rpma_conn_apply_remote_peer_cfg()  function  returns 0 on success or a negative error
       code on failure. rpma_conn_apply_remote_peer_cfg() does not set *pcfg value on failure.

ERRORS

       rpma_conn_apply_remote_peer_cfg() can fail with the following error:

       •  RPMA_E_INVAL - conn or pcfg are NULL

SEE ALSO

       rpma_conn_req_connect(3), rpma_peer_cfg_new(3), librpma(7) and https://pmem.io/rpma/