rpma_utils_conn_event_2str3
Convert rpma_conn_* enum to a string
Usage
#include <librpma.h>
const char *rpma_utils_conn_event_2str(enum rpma_conn_event conn_event);
enum rpma_conn_event {
RPMA_CONN_UNDEFINED = -1,
RPMA_CONN_ESTABLISHED,
RPMA_CONN_CLOSED,
RPMA_CONN_LOST,
RPMA_CONN_REJECTED,
RPMA_CONN_UNREACHABLE
};
Overview
rpma_utils_conn_event_2str() converts RPMA_CONN_* enum to the const string representation.
Return value
The rpma_utils_conn_event_2str() function returns the const string representation of RPMA_CONN_* enums.
Errors
rpma_utils_conn_event_2str() can not fail.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.