IDZEBRA  2.1.2
Data Structures | Functions
scantest.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <yaz/log.h>
#include <yaz/test.h>
#include <yaz/options.h>
#include <idzebra/dict.h>

Go to the source code of this file.

Data Structures

struct  handle_info


static int handler (char *name, const char *info, int pos, void *client)
int do_scan (Dict dict, int before, int after, const char *sterm, char **cmp_strs, int verbose, int start_cut, int end_cut)
static void tst (Dict dict, int start, int number)
int main (int argc, char **argv)

Function Documentation

int do_scan ( Dict  dict,
int  before,
int  after,
const char *  sterm,
char **  cmp_strs,
int  verbose,
int  start_cut,
int  end_cut 
static int handler ( char *  name,
const char *  info,
int  pos,
void *  client 

Definition at line 39 of file scantest.c.

References handle_info::a, handle_info::ar, handle_info::b, handle_info::end_cut, and handle_info::start_cut.

Referenced by do_scan().

int main ( int  argc,
char **  argv 
static void tst ( Dict  dict,
int  start,
int  number 

Definition at line 151 of file scantest.c.

References dict_insert(), and do_scan().

Referenced by main().