Struct cl_interface_status_t
ClassList > cl_interface_status_t
Interface status contains the status for an interface. It consists of struct_size, struct_version, interface_type and eth_interface_status. More...
#include <cl/cl_api.h>
Public Attributes
| Type | Name |
|---|---|
| struct cl_eth_interface_status_t | eth_interface_status |
| enum cl_interface_type_t | interface_type |
| size_t | struct_size |
| uint32_t | struct_version |
Detailed Description
The struct_size and struct_version are there to allow for this struct to grow in future versions of this API without breaking the ABI. To use it you'll want to initialize it before use as follows:
cl_interface_status_t interface_status = {
.struct_size = sizeof(interface_status),
.struct_version = CL_INTERFACE_STATUS_T_VERSION,
};
cl_status_t status = cl_interface_get_status(interface, &interface_status);
Public Attributes Documentation
variable eth_interface_status
variable interface_type
variable struct_size
variable struct_version
The documentation for this class was generated from the following file cl/cl_api.h