pdcomm_gem_equipment_data_state
Function
Reads the counters of the data variable store.
PdcommStatus pdcomm_gem_equipment_data_state(PdcommTcpEndpoint *endpoint, PdcommGemDataState *state)Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint. |
state | Caller storage; set state->struct_size first. Known fields are zeroed before the endpoint is inspected. |
Returns
#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when state is NULL or too small, or endpoint is NULL; #PDCOMM_BACKPRESSURE when a TCP event is staged; #PDCOMM_INVALID_STATE when the endpoint is not an Equipment or has no data store; #PDCOMM_POISONED when the endpoint is poisoned.