Use C type aliases (e.g. Int32->Cint etc.)

Also:
 * fix util/parse_header.h
 * make one more argument optional in ios_add_row.
Update documentation