YAZ
5.34.0
|
Implements display of GRS-1 records. More...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <yaz/proto.h>
#include <yaz/oid_db.h>
Go to the source code of this file.
Functions | |
static void | display_variant (WRBUF w, Z_Variant *v, int level) |
static void | display_grs1 (WRBUF w, Z_GenericRecord *r, int level) |
void | yaz_display_grs1 (WRBUF wrbuf, Z_GenericRecord *r, int flags) |
Performs "pretty" display of GRS-1 record to WRBUF. More... | |
Implements display of GRS-1 records.
Definition in file grs1disp.c.
|
static |
Definition at line 37 of file grs1disp.c.
References Z_TaggedElement::appliedVariant, Z_TaggedElement::content, Z_ElementData::date, display_variant(), Z_GenericRecord::elements, Z_TaggedElement::metaData, Z_GenericRecord::num_elements, Z_ElementMetaData::num_supportedVariants, Z_StringOrNumeric::numeric, Z_ElementData::numeric, ODR_INT_PRINTF, Z_ElementData::oid, OID_STR_MAX, Z_StringOrNumeric::string, Z_ElementData::string, Z_ElementData::subtree, Z_ElementMetaData::supportedVariants, Z_TaggedElement::tagType, Z_TaggedElement::tagValue, Z_StringOrNumeric::u, Z_ElementData::u, Z_StringOrNumeric::which, Z_ElementData::which, wrbuf_printf(), wrbuf_puts(), yaz_oid_to_string_buf(), Z_ElementData_date, Z_ElementData_elementEmpty, Z_ElementData_elementNotThere, Z_ElementData_ext, Z_ElementData_noDataRequested, Z_ElementData_numeric, Z_ElementData_oid, Z_ElementData_string, Z_ElementData_subtree, and Z_StringOrNumeric_numeric.
Referenced by yaz_display_grs1().
Definition at line 20 of file grs1disp.c.
References Z_Triple::internationalString, Z_Variant::num_triples, ODR_INT_PRINTF, Z_Variant::triples, Z_Triple::type, Z_Triple::value, Z_Triple::which, wrbuf_printf(), Z_Triple_internationalString, and Z_Triple::zclass.
Referenced by display_grs1().
void yaz_display_grs1 | ( | WRBUF | wrbuf, |
Z_GenericRecord * | r, | ||
int | flags | ||
) |
Performs "pretty" display of GRS-1 record to WRBUF.
Definition at line 125 of file grs1disp.c.
References display_grs1().
Referenced by return_record_wrbuf().