.\" Extracted by src2man from /build/rpma-11eW7Q/rpma-1.3.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_utils_conn_event_2str 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_utils_conn_event_2str \fP- convert RPMA_CONN_* enum to a string .SH SYNOPSIS .nf .fam C #include const char *\fBrpma_utils_conn_event_2str\fP(enum rpma_conn_event \fIconn_event\fP); enum rpma_conn_event { RPMA_CONN_UNDEFINED = -\fI1\fP, \fIRPMA_CONN_ESTABLISHED\fP, \fIRPMA_CONN_CLOSED\fP, \fIRPMA_CONN_LOST\fP, \fIRPMA_CONN_REJECTED\fP, RPMA_CONN_UNREACHABLE }; .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_utils_conn_event_2str\fP() converts RPMA_CONN_* enum to the const string representation. .SH RETURN VALUE The \fBrpma_utils_conn_event_2str\fP() function returns the const string representation of RPMA_CONN_* enums. .SH ERRORS \fBrpma_utils_conn_event_2str\fP() can not fail. .SH SEE ALSO \fBrpma_conn_next_event\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/