|
CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
This file contains the definitions of the functions that comprise internal utility functions. More...
#include "internal_utility.h"#include <stddef.h>#include "adapter_api.h"#include "adapter_efa_probe.h"#include "endpoint_manager.h"#include "cdi_os_api.h"Functions | |
| static const CdiEnumStringKey * | UtilityKeyGetArray (InternalEnumStringKeyTypes key_type) |
| Update InternalEnumStringKeyTypes in internal_utility.h whenever an entry is added to this function's switch statement. | |
| const char * | InternalUtilityKeyEnumToString (InternalEnumStringKeyTypes key_type, int enum_value) |
Variables | |
| static const CdiEnumStringKey | probe_state_key_array [] |
| Enum/String keys for ProbeState. NOTE: Must match ProbeState. | |
| static const CdiEnumStringKey | probe_command_key_array [] |
| Enum/String keys for ProbeCommand. NOTE: Must match ProbeCommand. | |
| static const CdiEnumStringKey | endpoint_manager_command_key_array [] |
| Enum/String keys for EndpointState. NOTE: Must match EndpointState. | |
This file contains the definitions of the functions that comprise internal utility functions.
| const char * InternalUtilityKeyEnumToString | ( | InternalEnumStringKeyTypes | key_type, |
| int | enum_value ) |
Function used to convert an internal enum value to a string.
| key_type | Enum from InternalEnumStringKeyTypes which indicates which key-value array to search for enum_value. |
| enum_value | Value to convert to a string. |
|
static |
Enum/String keys for EndpointState. NOTE: Must match EndpointState.
|
static |
Enum/String keys for ProbeCommand. NOTE: Must match ProbeCommand.
|
static |
Enum/String keys for ProbeState. NOTE: Must match ProbeState.