102 int main(
int argc,
char **argv)
Diagnostics: Generated by csvtodiag.tcl from ./bib1.csv.
#define YAZ_BIB1_DATABASE_UNAVAILABLE
#define YAZ_BIB1_COMBI_OF_SPECIFIED_DATABASES_UNSUPP
#define YAZ_BIB1_RECORD_SYNTAX_UNSUPP
static void my_close(void *handle)
static int my_search(void *handle, bend_search_rr *rr)
int main(int argc, char **argv)
static bend_initresult * my_init(bend_initrequest *q)
static int my_fetch(void *handle, bend_fetch_rr *r)
int yaz_matchstr(const char *s1, const char *s2)
match strings - independent of case and '-'
Header for YAZ iconv interface.
char * odr_strdup(ODR o, const char *str)
void * odr_malloc(ODR o, size_t size)
Odr_oid * odr_oiddup(ODR odr, const Odr_oid *o)
const Odr_oid yaz_oid_recsyn_xml[]
int oid_oidcmp(const Odr_oid *o1, const Odr_oid *o2)
compares OIDs
char * oid_oid_to_dotstring(const Odr_oid *oid, char *oidbuf)
converts OID to string (dot notation)
void yaz_snprintf(char *buf, size_t size, const char *fmt,...)
Header for config file reading utilities.
int statserv_main(int argc, char **argv, bend_initresult *(*bend_init)(bend_initrequest *r), void(*bend_close)(void *handle))
Information for fetch record handler.
Information for the Init handler.
int records_in_same_charset
whether query_charset also applies to records
int(* bend_search)(void *handle, bend_search_rr *rr)
SRU/Z39.50 search handler.
int(* bend_fetch)(void *handle, bend_fetch_rr *rr)
SRU/Z39.50 fetch handler.
ODR stream
encoding stream (for results)
char * query_charset
character set (encoding) for query terms
result for init handler (must be filled by handler)
Information for Z39.50/SRU search handler.
#define xfree(x)
utility macro which calls xfree_f
#define xmalloc(x)
utility macro which calls malloc_f