IDZEBRA  2.2.7
Data Structures | Functions | Variables
mod_grs_sgml.c File Reference
#include <assert.h>
#include <yaz/log.h>
#include <idzebra/recgrs.h>

Go to the source code of this file.

Data Structures

struct  sgml_getc_info
 

Functions

int sgml_getc (void *clientData)
 
static data1_nodegrs_read_sgml (struct grs_read_info *p)
 
static void * grs_init_sgml (Res res, RecType recType)
 
static ZEBRA_RES grs_config_sgml (void *clientData, Res res, const char *args)
 
static void grs_destroy_sgml (void *clientData)
 
static int grs_extract_sgml (void *clientData, struct recExtractCtrl *ctrl)
 
static int grs_retrieve_sgml (void *clientData, struct recRetrieveCtrl *ctrl)
 

Variables

static struct recType grs_type_sgml
 
RecType idzebra_filter []
 

Function Documentation

◆ grs_config_sgml()

static ZEBRA_RES grs_config_sgml ( void *  clientData,
Res  res,
const char *  args 
)
static

Definition at line 93 of file mod_grs_sgml.c.

References ZEBRA_OK.

◆ grs_destroy_sgml()

static void grs_destroy_sgml ( void *  clientData)
static

Definition at line 98 of file mod_grs_sgml.c.

References sgml_getc_info::buf, and sgml_getc_info::wrbuf.

◆ grs_extract_sgml()

static int grs_extract_sgml ( void *  clientData,
struct recExtractCtrl ctrl 
)
static

Definition at line 107 of file mod_grs_sgml.c.

References grs_read_sgml(), and zebra_grs_extract().

◆ grs_init_sgml()

static void* grs_init_sgml ( Res  res,
RecType  recType 
)
static

◆ grs_read_sgml()

static data1_node* grs_read_sgml ( struct grs_read_info p)
static

◆ grs_retrieve_sgml()

static int grs_retrieve_sgml ( void *  clientData,
struct recRetrieveCtrl ctrl 
)
static

Definition at line 112 of file mod_grs_sgml.c.

References grs_read_sgml(), and zebra_grs_retrieve().

◆ sgml_getc()

int sgml_getc ( void *  clientData)

Variable Documentation

◆ grs_type_sgml

struct recType grs_type_sgml
static
Initial value:
=
{
0,
"grs.sgml",
}
static ZEBRA_RES grs_config_sgml(void *clientData, Res res, const char *args)
Definition: mod_grs_sgml.c:93
static void grs_destroy_sgml(void *clientData)
Definition: mod_grs_sgml.c:98
static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)
Definition: mod_grs_sgml.c:107
static int grs_retrieve_sgml(void *clientData, struct recRetrieveCtrl *ctrl)
Definition: mod_grs_sgml.c:112
static void * grs_init_sgml(Res res, RecType recType)
Definition: mod_grs_sgml.c:84

Definition at line 112 of file mod_grs_sgml.c.

◆ idzebra_filter

RecType idzebra_filter[]
Initial value:
= {
0,
}
static struct recType grs_type_sgml
Definition: mod_grs_sgml.c:117

Definition at line 132 of file mod_grs_sgml.c.