Function pfwl_field_array_length

Function Documentation

uint8_t pfwl_field_array_length(pfwl_field_t *fields, pfwl_field_id_t id, size_t *length)

pfwl_field_array_length Returns the size of a field representing an array of strings.

Return

0 if the field was present, 1 otherwise. If 1 is returned, ‘size’ is not set.

Parameters
  • fields: The list of fields.

  • id: The field identifier.

  • length: The returned length.