YAZ
5.34.0
|
Internal header for yaz-ztest. More...
#include <yaz/proto.h>
Go to the source code of this file.
Functions | |
Z_GenericRecord * | dummy_grs_record (int num, ODR o) |
char * | dummy_marc_record (int num, ODR odr) |
char * | dummy_xml_record (int num, ODR odr, const char *esn) |
char * | dummy_json_record (int num, ODR odr, const char *esn) |
Z_OPACRecord * | dummy_opac (int num, ODR odr, const char *marc_input) |
Internal header for yaz-ztest.
Definition in file ztest.h.
Z_GenericRecord* dummy_grs_record | ( | int | num, |
ODR | o | ||
) |
char* dummy_json_record | ( | int | num, |
ODR | odr, | ||
const char * | esn | ||
) |
Definition at line 1677 of file read-marc.c.
References dummy_marc_record(), odr_strdup(), wrbuf_alloc(), wrbuf_cstr(), wrbuf_destroy(), yaz_marc_create(), yaz_marc_decode_wrbuf(), yaz_marc_destroy(), YAZ_MARC_JSON, and yaz_marc_xml().
Referenced by ztest_fetch().
char* dummy_marc_record | ( | int | num, |
ODR | odr | ||
) |
Definition at line 1536 of file read-marc.c.
References marc_record0, marc_records, NO_MARC_RECORDS, and odr_strdup().
Referenced by dummy_json_record(), dummy_xml_record(), and ztest_fetch().
Z_OPACRecord* dummy_opac | ( | int | num, |
ODR | odr, | ||
const char * | marc_input | ||
) |
Definition at line 18 of file dummy-opac.c.
References Z_CircRecord::availableNow, Z_CircRecord::availableThru, Z_CircRecord::availablityDate, Z_OPACRecord::bibliographicRecord, Z_HoldingsAndCircData::callNumber, Z_HoldingsAndCircData::circulationData, Z_HoldingsAndCircData::completeness, Z_HoldingsAndCircData::copyNumber, Z_HoldingsAndCircData::dateOfReport, Z_HoldingsAndCircData::encodingLevel, Z_HoldingsAndCircData::enumAndChron, Z_CircRecord::enumAndChron, Z_HoldingsAndCircData::format, Z_HoldingsAndCircData::generalRetention, Z_HoldingsRecord::holdingsAndCirc, Z_OPACRecord::holdingsData, Z_CircRecord::itemId, Z_HoldingsAndCircData::localLocation, Z_CircRecord::midspine, Z_HoldingsAndCircData::nucCode, Z_HoldingsAndCircData::num_circulationData, Z_OPACRecord::num_holdingsData, Z_HoldingsAndCircData::num_volumes, odr_booldup(), odr_malloc(), Z_CircRecord::onHold, Z_HoldingsAndCircData::publicNote, Z_HoldingsAndCircData::receiptAcqStatus, Z_CircRecord::renewable, Z_HoldingsAndCircData::reproductionNote, Z_CircRecord::restrictions, Z_HoldingsAndCircData::shelvingData, Z_HoldingsAndCircData::shelvingLocation, Z_CircRecord::temporaryLocation, Z_HoldingsAndCircData::termsUseRepro, Z_HoldingsAndCircData::typeOfRecord, Z_HoldingsRecord::u, Z_HoldingsAndCircData::volumes, Z_HoldingsRecord::which, z_ext_record_usmarc(), and Z_HoldingsRecord_holdingsAndCirc.
Referenced by dummy_xml_record(), and ztest_fetch().
char* dummy_xml_record | ( | int | num, |
ODR | odr, | ||
const char * | esn | ||
) |
Definition at line 1619 of file read-marc.c.
References dummy_marc_record(), dummy_opac(), dummy_pz2_record(), odr_malloc(), odr_strdup(), wrbuf_alloc(), wrbuf_cstr(), wrbuf_destroy(), wrbuf_printf(), yaz_marc_create(), yaz_marc_decode_wrbuf(), yaz_marc_destroy(), YAZ_MARC_MARCXML, yaz_marc_xml(), and yaz_opac_decode_wrbuf().
Referenced by ztest_fetch().