PdcommGemConstantDefinition
Struct
Definition of one equipment constant for pdcomm_gem_equipment_configure_constants().
typedef struct PdcommGemConstantDefinition { ... } PdcommGemConstantDefinitionMembers
current
Field
Current value (ECV).
const PdcommSecsItem *currentMust not be NULL; its format becomes the declared format.
default_value
Field
Optional default value (ECDEF); NULL means absent.
const PdcommSecsItem *default_valueid
Field
Constant ID (ECID): an ASCII item or a single-element integer item.
const PdcommSecsItem *idMust not be NULL.
max_count
Field
Largest allowed element count; must be at least min_count.
size_t max_countmaximum
Field
Optional maximum value (ECMAX); NULL means absent.
const PdcommSecsItem *maximumMust not be less than minimum.
min_count
Field
Smallest allowed element count of current, default, and new values.
size_t min_countminimum
Field
Optional minimum value (ECMIN); NULL means absent.
const PdcommSecsItem *minimumname
Field
Name as ASCII bytes, not NUL-terminated.
const char *nameMay be NULL when name_length is 0.
name_length
Field
Number of bytes at name.
size_t name_lengthunits
Field
Units as ASCII bytes, not NUL-terminated.
const char *unitsMay be NULL when units_length is 0.
units_length
Field
Number of bytes at units.
size_t units_length