class Z3950_record { // No public constructor: these are created by Z3950_resultSet Z3950_recordSyntax recsyn(); size_t nfields(); char *field(char *spec); char *render(); char *rawdata(size_t *sizep); }; enum Z3950_recordSyntax { Z3950_recordSyntax_GRS1, Z3950_recordSyntax_SUTRS, Z3950_recordSyntax_USMARC, Z3950_recordSyntax_XML, };