record__synthesize
static int record__synthesize(struct record *rec, bool tail);
record__synthesize(rec, true);
record__synthesize(rec, false);
err = record__synthesize(rec, false);
record__synthesize(rec, true);