IDZEBRA
2.2.7
|
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/proto.h>
#include <yaz/oid_db.h>
#include <yaz/snprintf.h>
#include <idzebra/data1.h>
Go to the source code of this file.
Data Structures | |
struct | ExpHandle |
Functions | |
static int | is_numeric_tag (ExpHandle *eh, data1_node *c) |
static int | is_data_tag (ExpHandle *eh, data1_node *c) |
static Odr_int * | f_integer (ExpHandle *eh, data1_node *c) |
static char * | f_string (ExpHandle *eh, data1_node *c) |
static bool_t * | f_bool (ExpHandle *eh, data1_node *c) |
static Odr_oid * | f_oid (ExpHandle *eh, data1_node *c, oid_class oclass) |
static Z_IntUnit * | f_intunit (ExpHandle *eh, data1_node *c) |
static Z_HumanString * | f_humstring (ExpHandle *eh, data1_node *c) |
static Z_CommonInfo * | f_commonInfo (ExpHandle *eh, data1_node *n) |
Odr_oid ** | f_oid_seq (ExpHandle *eh, data1_node *n, int *num, oid_class oclass) |
char ** | f_string_seq (ExpHandle *eh, data1_node *n, int *num) |
Z_ProximitySupport * | f_proximitySupport (ExpHandle *eh, data1_node *n) |
Z_RpnCapabilities * | f_rpnCapabilities (ExpHandle *eh, data1_node *n) |
Z_QueryTypeDetails * | f_queryTypeDetails (ExpHandle *eh, data1_node *n) |
static Z_AccessInfo * | f_accessInfo (ExpHandle *eh, data1_node *n) |
static Odr_int * | f_recordCount (ExpHandle *eh, data1_node *c, int *which) |
static Z_ContactInfo * | f_contactInfo (ExpHandle *eh, data1_node *n) |
static Z_DatabaseList * | f_databaseList (ExpHandle *eh, data1_node *n) |
static Z_NetworkAddressIA * | f_networkAddressIA (ExpHandle *eh, data1_node *n) |
static Z_NetworkAddressOther * | f_networkAddressOther (ExpHandle *eh, data1_node *n) |
static Z_NetworkAddress ** | f_networkAddresses (ExpHandle *eh, data1_node *n, int *num) |
static Z_CategoryInfo * | f_categoryInfo (ExpHandle *eh, data1_node *n) |
static Z_CategoryList * | f_categoryList (ExpHandle *eh, data1_node *n) |
static Z_TargetInfo * | f_targetInfo (ExpHandle *eh, data1_node *n) |
static Z_DatabaseInfo * | f_databaseInfo (ExpHandle *eh, data1_node *n) |
Z_StringOrNumeric * | f_stringOrNumeric (ExpHandle *eh, data1_node *n) |
Z_AttributeDescription * | f_attributeDescription (ExpHandle *eh, data1_node *n) |
Z_AttributeType * | f_attributeType (ExpHandle *eh, data1_node *n) |
Z_AttributeSetInfo * | f_attributeSetInfo (ExpHandle *eh, data1_node *n) |
Z_OmittedAttributeInterpretation * | f_omittedAttributeInterpretation (ExpHandle *eh, data1_node *n) |
Z_AttributeValue * | f_attributeValue (ExpHandle *eh, data1_node *n) |
Z_AttributeTypeDetails * | f_attributeTypeDetails (ExpHandle *eh, data1_node *n) |
Z_AttributeSetDetails * | f_attributeSetDetails (ExpHandle *eh, data1_node *n) |
Z_AttributeValueList * | f_attributeValueList (ExpHandle *eh, data1_node *n) |
Z_AttributeOccurrence * | f_attributeOccurrence (ExpHandle *eh, data1_node *n) |
Z_AttributeCombination * | f_attributeCombination (ExpHandle *eh, data1_node *n) |
Z_AttributeCombinations * | f_attributeCombinations (ExpHandle *eh, data1_node *n) |
Z_AttributeDetails * | f_attributeDetails (ExpHandle *eh, data1_node *n) |
Z_ExplainRecord * | data1_nodetoexplain (data1_handle dh, data1_node *n, int select, ODR o) |
Z_ExplainRecord* data1_nodetoexplain | ( | data1_handle | dh, |
data1_node * | n, | ||
int | select, | ||
ODR | o | ||
) |
Definition at line 1352 of file d1_expout.c.
References data1_node::child, DATA1N_root, ExpHandle::dh, f_attributeDetails(), f_attributeSetInfo(), f_categoryList(), f_databaseInfo(), f_targetInfo(), ExpHandle::false_value, is_numeric_tag(), data1_node::next, ExpHandle::o, data1_node::root, ExpHandle::select, ExpHandle::true_value, data1_node::u, and data1_node::which.
Referenced by zebra_grs_retrieve().
|
static |
Definition at line 305 of file d1_expout.c.
References data1_node::child, f_oid_seq(), f_queryTypeDetails(), f_string_seq(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_databaseInfo(), and f_targetInfo().
Z_AttributeCombination* f_attributeCombination | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1240 of file d1_expout.c.
References data1_node::child, f_attributeOccurrence(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeCombinations().
Z_AttributeCombinations* f_attributeCombinations | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1264 of file d1_expout.c.
References data1_node::child, f_attributeCombination(), f_oid(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeDetails().
Z_AttributeDescription* f_attributeDescription | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 888 of file d1_expout.c.
References data1_node::child, f_humstring(), f_string(), f_stringOrNumeric(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeType().
Z_AttributeDetails* f_attributeDetails | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1306 of file d1_expout.c.
References data1_node::child, f_attributeCombinations(), f_attributeSetDetails(), f_commonInfo(), f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by data1_nodetoexplain().
Z_AttributeOccurrence* f_attributeOccurrence | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1205 of file d1_expout.c.
References data1_node::child, f_attributeValueList(), f_integer(), f_oid(), is_numeric_tag(), data1_node::next, ExpHandle::o, and data1_node::which.
Referenced by f_attributeCombination().
Z_AttributeSetDetails* f_attributeSetDetails | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1143 of file d1_expout.c.
References data1_node::child, f_attributeTypeDetails(), f_oid(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeDetails().
Z_AttributeSetInfo* f_attributeSetInfo | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 965 of file d1_expout.c.
References data1_node::attributes, data1_node::child, f_attributeType(), f_commonInfo(), f_humstring(), f_oid(), f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by data1_nodetoexplain().
Z_AttributeType* f_attributeType | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 922 of file d1_expout.c.
References data1_node::child, f_attributeDescription(), f_humstring(), f_integer(), f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeSetInfo().
Z_AttributeTypeDetails* f_attributeTypeDetails | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1101 of file d1_expout.c.
References data1_node::child, f_attributeValue(), f_integer(), f_omittedAttributeInterpretation(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeSetDetails().
Z_AttributeValue* f_attributeValue | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1033 of file d1_expout.c.
References data1_node::child, f_humstring(), f_stringOrNumeric(), is_numeric_tag(), data1_node::next, ExpHandle::o, and data1_node::value.
Referenced by f_attributeTypeDetails().
Z_AttributeValueList* f_attributeValueList | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1182 of file d1_expout.c.
References data1_node::attributes, data1_node::child, f_stringOrNumeric(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeOccurrence().
|
static |
Definition at line 99 of file d1_expout.c.
References data1_node::child, data1_node::data, is_data_tag(), ExpHandle::o, and data1_node::u.
Referenced by f_databaseInfo(), f_rpnCapabilities(), and f_targetInfo().
|
static |
Definition at line 553 of file d1_expout.c.
References data1_node::child, f_humstring(), f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_categoryList().
|
static |
Definition at line 575 of file d1_expout.c.
References data1_node::child, f_categoryInfo(), f_commonInfo(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by data1_nodetoexplain().
|
static |
Definition at line 153 of file d1_expout.c.
References data1_node::child, f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeDetails(), f_attributeSetInfo(), f_categoryList(), f_databaseInfo(), and f_targetInfo().
|
static |
Definition at line 415 of file d1_expout.c.
References data1_node::child, f_humstring(), f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_databaseInfo(), and f_targetInfo().
|
static |
Definition at line 740 of file d1_expout.c.
References data1_node::child, f_accessInfo(), f_bool(), f_commonInfo(), f_contactInfo(), f_databaseList(), f_humstring(), f_integer(), f_intunit(), f_recordCount(), f_string(), ExpHandle::false_value, is_numeric_tag(), data1_node::next, ExpHandle::o, data1_node::tag, ExpHandle::true_value, data1_node::u, and data1_node::which.
Referenced by data1_nodetoexplain().
|
static |
Definition at line 440 of file d1_expout.c.
References data1_node::child, f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_databaseInfo(), and f_targetInfo().
|
static |
Definition at line 134 of file d1_expout.c.
References data1_node::child, data1_node::data, is_data_tag(), ExpHandle::o, and data1_node::u.
Referenced by f_attributeDescription(), f_attributeSetInfo(), f_attributeType(), f_attributeValue(), f_categoryInfo(), f_contactInfo(), f_databaseInfo(), f_omittedAttributeInterpretation(), and f_targetInfo().
|
static |
Definition at line 74 of file d1_expout.c.
References data1_node::child, data1_node::data, is_data_tag(), ExpHandle::o, and data1_node::u.
Referenced by f_attributeOccurrence(), f_attributeType(), f_attributeTypeDetails(), f_databaseInfo(), f_networkAddressIA(), f_rpnCapabilities(), f_stringOrNumeric(), and f_targetInfo().
|
static |
Definition at line 128 of file d1_expout.c.
Referenced by f_databaseInfo(), and f_targetInfo().
|
static |
Definition at line 510 of file d1_expout.c.
References data1_node::child, f_networkAddressIA(), f_networkAddressOther(), is_numeric_tag(), data1_node::next, ExpHandle::o, and data1_node::which.
Referenced by f_targetInfo().
|
static |
Definition at line 469 of file d1_expout.c.
References data1_node::child, f_integer(), f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_networkAddresses().
|
static |
Definition at line 489 of file d1_expout.c.
References data1_node::child, f_string(), is_numeric_tag(), data1_node::next, ExpHandle::o, and data1_node::type.
Referenced by f_networkAddresses().
|
static |
Definition at line 114 of file d1_expout.c.
References data1_node::child, data1_node::data, is_data_tag(), ExpHandle::o, and data1_node::u.
Referenced by f_attributeCombinations(), f_attributeOccurrence(), f_attributeSetDetails(), f_attributeSetInfo(), and f_oid_seq().
Odr_oid** f_oid_seq | ( | ExpHandle * | eh, |
data1_node * | n, | ||
int * | num, | ||
oid_class | oclass | ||
) |
Definition at line 177 of file d1_expout.c.
References data1_node::child, f_oid(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_accessInfo().
Z_OmittedAttributeInterpretation* f_omittedAttributeInterpretation | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 1009 of file d1_expout.c.
References data1_node::child, f_humstring(), f_stringOrNumeric(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_attributeTypeDetails().
Z_ProximitySupport* f_proximitySupport | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 221 of file d1_expout.c.
References ExpHandle::false_value, and ExpHandle::o.
Referenced by f_rpnCapabilities().
Z_QueryTypeDetails* f_queryTypeDetails | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 280 of file d1_expout.c.
References data1_node::child, f_rpnCapabilities(), is_numeric_tag(), data1_node::next, ExpHandle::o, and data1_node::which.
Referenced by f_accessInfo().
|
static |
Definition at line 393 of file d1_expout.c.
References data1_node::child, data1_node::data, DATA1N_data, is_numeric_tag(), ExpHandle::o, data1_node::tag, data1_node::u, and data1_node::which.
Referenced by f_databaseInfo().
Z_RpnCapabilities* f_rpnCapabilities | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 231 of file d1_expout.c.
References data1_node::child, f_bool(), f_integer(), f_proximitySupport(), ExpHandle::false_value, is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_queryTypeDetails().
|
static |
Definition at line 86 of file d1_expout.c.
References data1_node::child, data1_node::data, is_data_tag(), ExpHandle::o, and data1_node::u.
Referenced by f_attributeDescription(), f_attributeDetails(), f_attributeSetInfo(), f_attributeType(), f_categoryInfo(), f_commonInfo(), f_contactInfo(), f_databaseInfo(), f_databaseList(), f_networkAddressIA(), f_networkAddressOther(), f_string_seq(), f_stringOrNumeric(), and f_targetInfo().
char** f_string_seq | ( | ExpHandle * | eh, |
data1_node * | n, | ||
int * | num | ||
) |
Definition at line 196 of file d1_expout.c.
References data1_node::child, f_string(), is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by f_accessInfo().
Z_StringOrNumeric* f_stringOrNumeric | ( | ExpHandle * | eh, |
data1_node * | n | ||
) |
Definition at line 866 of file d1_expout.c.
References data1_node::child, f_integer(), f_string(), is_numeric_tag(), data1_node::next, ExpHandle::o, and data1_node::which.
Referenced by f_attributeDescription(), f_attributeValue(), f_attributeValueList(), and f_omittedAttributeInterpretation().
|
static |
Definition at line 615 of file d1_expout.c.
References data1_node::child, f_accessInfo(), f_bool(), f_commonInfo(), f_contactInfo(), f_databaseList(), f_humstring(), f_integer(), f_intunit(), f_networkAddresses(), f_string(), ExpHandle::false_value, is_numeric_tag(), data1_node::next, and ExpHandle::o.
Referenced by data1_nodetoexplain().
|
static |
Definition at line 65 of file d1_expout.c.
References DATA1N_data, ExpHandle::select, data1_node::tag, data1_node::u, and data1_node::which.
Referenced by f_bool(), f_humstring(), f_integer(), f_oid(), and f_string().
|
static |
Definition at line 46 of file d1_expout.c.
References DATA1N_tag, DATA1T_numeric, ExpHandle::select, data1_node::tag, data1_node::u, and data1_node::which.
Referenced by data1_nodetoexplain(), f_accessInfo(), f_attributeCombination(), f_attributeCombinations(), f_attributeDescription(), f_attributeDetails(), f_attributeOccurrence(), f_attributeSetDetails(), f_attributeSetInfo(), f_attributeType(), f_attributeTypeDetails(), f_attributeValue(), f_attributeValueList(), f_categoryInfo(), f_categoryList(), f_commonInfo(), f_contactInfo(), f_databaseInfo(), f_databaseList(), f_networkAddresses(), f_networkAddressIA(), f_networkAddressOther(), f_oid_seq(), f_omittedAttributeInterpretation(), f_queryTypeDetails(), f_recordCount(), f_rpnCapabilities(), f_string_seq(), f_stringOrNumeric(), and f_targetInfo().