YAZ  5.23.1
Data Structures | Functions
gfs-example.c File Reference

Demonstration of Generic Frontend Server API. More...

#include <stdio.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/backend.h>
#include <yaz/diagbib1.h>
#include <yaz/matchstr.h>
#include <yaz/snprintf.h>

Go to the source code of this file.

Data Structures

struct  my_handle
 

Functions

static int my_search (void *handle, bend_search_rr *rr)
 
static int my_fetch (void *handle, bend_fetch_rr *r)
 
static bend_initresultmy_init (bend_initrequest *q)
 
static void my_close (void *handle)
 
int main (int argc, char **argv)
 

Detailed Description

Demonstration of Generic Frontend Server API.

Definition in file gfs-example.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 102 of file gfs-example.c.

References my_close(), my_init(), and statserv_main().

static void my_close ( void *  handle)
static

Definition at line 96 of file gfs-example.c.

References xfree.

Referenced by main().

static int my_fetch ( void *  handle,
bend_fetch_rr r 
)
static
static bend_initresult* my_init ( bend_initrequest q)
static
static int my_search ( void *  handle,
bend_search_rr rr 
)
static