IDZEBRA  2.2.7
Functions | Variables
dicttest.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <idzebra/dict.h>
#include <idzebra/util.h>
#include <idzebra/res.h>
#include <yaz/yaz-util.h>
#include <yaz/snprintf.h>

Go to the source code of this file.

Functions

static int grep_handler (char *name, const char *info, void *client)
 
static int scan_handler (char *name, const char *info, int pos, void *client)
 
int main (int argc, char **argv)
 

Variables

char * prog
 
static Dict dict
 
static int look_hits
 

Function Documentation

◆ grep_handler()

static int grep_handler ( char *  name,
const char *  info,
void *  client 
)
static

Definition at line 39 of file dicttest.c.

References look_hits.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ scan_handler()

static int scan_handler ( char *  name,
const char *  info,
int  pos,
void *  client 
)
static

Definition at line 46 of file dicttest.c.

Referenced by main().

Variable Documentation

◆ dict

Dict dict
static

◆ look_hits

int look_hits
static

Definition at line 37 of file dicttest.c.

Referenced by grep_handler(), and main().

◆ prog

char* prog

Definition at line 34 of file dicttest.c.

Referenced by main().