.\" Extracted by src2man from /build/rpma-11eW7Q/rpma-1.3.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_conn_apply_remote_peer_cfg 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_conn_apply_remote_peer_cfg \fP- apply remote peer cfg to the connection .SH SYNOPSIS .nf .fam C #include struct rpma_conn; struct rpma_peer_cfg; int \fBrpma_conn_apply_remote_peer_cfg\fP(struct rpma_conn *conn, const struct rpma_peer_cfg *pcfg); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_conn_apply_remote_peer_cfg\fP() applies the remote peer configuration to the connection. .SH RETURN VALUE The \fBrpma_conn_apply_remote_peer_cfg\fP() function returns 0 on success or a negative error code on failure. \fBrpma_conn_apply_remote_peer_cfg\fP() does not set *pcfg value on failure. .SH ERRORS \fBrpma_conn_apply_remote_peer_cfg\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - conn or pcfg are NULL .SH SEE ALSO \fBrpma_conn_req_connect\fP(3), \fBrpma_peer_cfg_new\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/