Skip to content
Start free evaluation

pdcomm_gem_equipment_directory_state

Function

Reads the counters of the event directory.

PdcommStatus pdcomm_gem_equipment_directory_state(PdcommTcpEndpoint *endpoint, PdcommGemDirectoryState *state)

Declared in: #include <pdcomm_gem_directories.h>

Succeeds with configured 0 and zero counts when no directory is configured.

Parameters

NameDescription
endpointEquipment endpoint.
stateCaller storage; set state->struct_size first.

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.