pdcomm_gem_equipment_binding_state
Function
Reads the counters of the binding store.
PdcommStatus pdcomm_gem_equipment_binding_state(PdcommTcpEndpoint *endpoint, PdcommGemBindingState *state)When no binding store is installed the call succeeds with explicit_mode 0 and zero counts.
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_INVALID_STATE when the endpoint is not an Equipment; #PDCOMM_BACKPRESSURE or #PDCOMM_POISONED.