chore, allow int in transparent union fixc_ctxt_t

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'core/api' into next

* core/api:
  chore, allow int in transparent union fixc_ctxt_t
test, bring another fixc_from_fixml regression to check for offset anomalies

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, hygiene, replace computation of new size in check_size() by helper var

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, bring another fixc_from_fixml regression to check for offset anomalies

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, put MALLOC_PERTURB_ into tests environment

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, don't return indices as ints upon _add_fld() or _add_tag()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, follow-up, adapt to new policy not to return index upon fixc_add_tag() in bang_attr() of fixml-rd.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, cosmetics, add debugging output about the final true size of a resize

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide fixc_get_tag() to safely recover (string) data assoc'd with tags

for fields of type FIXC_TYP_OFF only, otherwise NULL is returned.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, migrate fixc_from_fixml_05 regression to using fixc_get_tag()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, fix, account for AID block rptb indicator tag when checking fields in fixc_from_fixml_05 regression

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, don't rely on realloc() having our pr bits (for string data) around upon resize

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, free original message early in fixc_from_fixml_05 to add more pressure

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, use fixc_get_tag() as introduced earlier in fixc_add_tag_02 regression

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, explicitly initialise .tpc and .cnt upon fixc_add_tag()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide fixc_get_tag_data() to get the string data and its length in one go

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'core/api' into next

* core/api:
  minor, provide fixc_get_tag_data() to get the string data and its length in one go
  fix, explicitly initialise .tpc and .cnt upon fixc_add_tag()
  test, use fixc_get_tag() as introduced earlier in fixc_add_tag_02 regression
  test, free original message early in fixc_from_fixml_05 to add more pressure
  minor, don't rely on realloc() having our pr bits (for string data) around upon resize
  test, fix, account for AID block rptb indicator tag when checking fields in fixc_from_fixml_05 regression
  test, migrate fixc_from_fixml_05 regression to using fixc_get_tag()
  minor, provide fixc_get_tag() to safely recover (string) data assoc'd with tags
  chore, cosmetics, add debugging output about the final true size of a resize
  minor, follow-up, adapt to new policy not to return index upon fixc_add_tag() in bang_attr() of fixml-rd.c
  minor, don't return indices as ints upon _add_fld() or _add_tag()
  test, put MALLOC_PERTURB_ into tests environment
  test, bring another fixc_from_fixml regression to check for offset anomalies
  chore, hygiene, replace computation of new size in check_size() by helper var
  test, bring another fixc_from_fixml regression to check for offset anomalies