rpma_utils_conn_event_2str(3)

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.

  1. 12
  2. 13

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.