IDZEBRA  2.2.7
Functions
d1_espec.c File Reference
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <yaz/log.h>
#include <yaz/odr.h>
#include <yaz/proto.h>
#include <idzebra/data1.h>
#include <yaz/oid_db.h>

Go to the source code of this file.

Functions

static Z_Variant * read_variant (int argc, char **argv, NMEM nmem, const char *file, int lineno)
 
static Z_Occurrences * read_occurrences (char *occ, NMEM nmem, const char *file, int lineno)
 
static Z_ETagUnit * read_tagunit (char *buf, NMEM nmem, const char *file, int lineno)
 
Z_Espec1 * data1_read_espec1 (data1_handle dh, const char *file)
 

Function Documentation

◆ data1_read_espec1()

Z_Espec1* data1_read_espec1 ( data1_handle  dh,
const char *  file 
)

Definition at line 213 of file d1_espec.c.

References data1_nmem_get(), data1_path_fopen(), read_tagunit(), and read_variant().

Referenced by data1_read_absyn().

◆ read_occurrences()

static Z_Occurrences* read_occurrences ( char *  occ,
NMEM  nmem,
const char *  file,
int  lineno 
)
static

Definition at line 85 of file d1_espec.c.

References d1_isdigit.

Referenced by read_tagunit().

◆ read_tagunit()

static Z_ETagUnit* read_tagunit ( char *  buf,
NMEM  nmem,
const char *  file,
int  lineno 
)
static

Definition at line 131 of file d1_espec.c.

References read_occurrences().

Referenced by data1_read_espec1().

◆ read_variant()

static Z_Variant* read_variant ( int  argc,
char **  argv,
NMEM  nmem,
const char *  file,
int  lineno 
)
static

Definition at line 34 of file d1_espec.c.

References d1_isdigit.

Referenced by data1_read_espec1().