IDZEBRA 2.2.11
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_node * grs_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()

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()

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()

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()

void * grs_init_sgml ( Res res,
RecType recType )
static

◆ grs_read_sgml()

◆ grs_retrieve_sgml()

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()

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)
static void grs_destroy_sgml(void *clientData)
static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)
static void * grs_init_sgml(Res res, RecType recType)
static int grs_retrieve_sgml(void *clientData, struct recRetrieveCtrl *ctrl)

Definition at line 117 of file mod_grs_sgml.c.

◆ idzebra_filter

RecType idzebra_filter[]
Initial value:
= {
0,
}
static struct recType grs_type_sgml

Definition at line 132 of file mod_grs_sgml.c.