IDZEBRA  2.2.7
Functions
d1_doespec.c File Reference

handle Z39.50 variant-1 specs More...

#include <assert.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/proto.h>
#include <yaz/oid_db.h>
#include <idzebra/data1.h>

Go to the source code of this file.

Functions

static int match_children (data1_handle dh, data1_node *n, Z_Espec1 *e, int i, Z_ETagUnit **t, int num, int select_flag)
 
static int match_children_wildpath (data1_handle dh, data1_node *n, Z_Espec1 *e, int i, Z_ETagUnit **t, int num)
 
static Z_Triple * find_triple (Z_Variant *var, const Odr_oid *universal_oid, const Odr_oid *var_oid, int zclass, int type)
 
static void mark_subtree (data1_node *n, int make_variantlist, int no_data, int get_bytes, Z_Variant *vreq, int select_flag)
 
static void match_triple (data1_handle dh, Z_Variant *vreq, const Odr_oid *def_oid, const Odr_oid *var_oid, data1_node *n)
 
static int match_node_and_attr (data1_node *c, const char *spec)
 
static int match_children_here (data1_handle dh, data1_node *n, Z_Espec1 *e, int i, Z_ETagUnit **t, int num, int select_flag)
 
int data1_doespec1 (data1_handle dh, data1_node *n, Z_Espec1 *e)
 

Detailed Description

handle Z39.50 variant-1 specs

See http://www.loc.gov/z3950/agency/defns/variant1.html

Definition in file d1_doespec.c.

Function Documentation

◆ data1_doespec1()

int data1_doespec1 ( data1_handle  dh,
data1_node n,
Z_Espec1 *  e 
)

◆ find_triple()

static Z_Triple* find_triple ( Z_Variant *  var,
const Odr_oid *  universal_oid,
const Odr_oid *  var_oid,
int  zclass,
int  type 
)
static

Definition at line 53 of file d1_doespec.c.

Referenced by match_children_here(), and match_triple().

◆ mark_subtree()

static void mark_subtree ( data1_node n,
int  make_variantlist,
int  no_data,
int  get_bytes,
Z_Variant *  vreq,
int  select_flag 
)
static

◆ match_children()

static int match_children ( data1_handle  dh,
data1_node n,
Z_Espec1 *  e,
int  i,
Z_ETagUnit **  t,
int  num,
int  select_flag 
)
static

Definition at line 335 of file d1_doespec.c.

References match_children_here(), and match_children_wildpath().

Referenced by data1_doespec1(), and match_children_here().

◆ match_children_here()

static int match_children_here ( data1_handle  dh,
data1_node n,
Z_Espec1 *  e,
int  i,
Z_ETagUnit **  t,
int  num,
int  select_flag 
)
static

◆ match_children_wildpath()

static int match_children_wildpath ( data1_handle  dh,
data1_node n,
Z_Espec1 *  e,
int  i,
Z_ETagUnit **  t,
int  num 
)
static

Definition at line 41 of file d1_doespec.c.

Referenced by match_children().

◆ match_node_and_attr()

static int match_node_and_attr ( data1_node c,
const char *  spec 
)
static

◆ match_triple()

static void match_triple ( data1_handle  dh,
Z_Variant *  vreq,
const Odr_oid *  def_oid,
const Odr_oid *  var_oid,
data1_node n 
)
static