YAZ  5.23.1
elementset.c File Reference

Z39.50 element set utilities. More...

#include <yaz/proto.h>

Go to the source code of this file.


const char * yaz_get_esn (Z_RecordComposition *comp)
 get element set name from RecordComposition More...
void yaz_set_esn (Z_RecordComposition **comp_p, const char *esn, NMEM nmem)
 set element set name in RecordComposition struct More...

Detailed Description

Z39.50 element set utilities.

Definition in file elementset.c.

Function Documentation

const char* yaz_get_esn ( Z_RecordComposition comp)
void yaz_set_esn ( Z_RecordComposition **  comp_p,
const char *  esn,
NMEM  nmem 

set element set name in RecordComposition struct

comp_precord composition ptr
esnelement set name string
nmemmemory for result composition

Definition at line 32 of file elementset.c.

References Z_ElementSetNames::generic, nmem_malloc(), nmem_strdup(), Z_RecordComposition::simple, Z_RecordComposition::u, Z_ElementSetNames::u, Z_RecordComposition::which, Z_ElementSetNames::which, Z_ElementSetNames_generic, and Z_RecordComp_simple.

Referenced by retrieve_fetch().