reparse.c: Read/write from structure