IDZEBRA  2.1.2
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

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.

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.

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

static void* grs_init_sgml ( Res  res,
RecType  recType 
)
static
static data1_node* grs_read_sgml ( struct grs_read_info p)
static
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().

int sgml_getc ( void *  clientData)

Variable Documentation

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

Definition at line 117 of file mod_grs_sgml.c.

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

Definition at line 135 of file mod_grs_sgml.c.