Skip to content
Start free evaluation

pdcomm_gem_equipment_binding_state

Function

Reads the counters of the binding store.

PdcommStatus pdcomm_gem_equipment_binding_state(PdcommTcpEndpoint *endpoint, PdcommGemBindingState *state)

Declared in: #include <pdcomm_gem_data.h>

When no binding store is installed the call succeeds with explicit_mode 0 and zero counts.

Parameters

NameDescription
endpointEquipment endpoint.
stateCaller 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.