pdcomm_gem_equipment_constant_state
Function
Reads the counters of the constant store.
PdcommStatus pdcomm_gem_equipment_constant_state(PdcommTcpEndpoint *endpoint, PdcommGemConstantState *state)Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint. |
state | Caller storage; set state->struct_size first. It is written only on success. |
Returns
#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when endpoint or state is NULL or state->struct_size is too small; #PDCOMM_INVALID_STATE when the endpoint is not an Equipment or has no constant store; #PDCOMM_POISONED when the endpoint is poisoned.