IDZEBRA 2.2.11
tstres.c File Reference
#include <string.h>
#include <stdlib.h>
#include <idzebra/res.h>
#include <yaz/test.h>
#include <yaz/snprintf.h>

Go to the source code of this file.

Functions

const char * get_srcdir (void)
static void tst_res_open (void)
static void tst_res_read_file (void)
int main (int argc, char **argv)

Function Documentation

◆ get_srcdir()

const char * get_srcdir ( void )

Definition at line 30 of file tstres.c.

Referenced by tst_res_read_file().

◆ main()

int main ( int argc,
char ** argv )

Definition at line 87 of file tstres.c.

References tst_res_open(), and tst_res_read_file().

◆ tst_res_open()

void tst_res_open ( void )
static

Definition at line 40 of file tstres.c.

References res_close(), and res_open().

Referenced by main().

◆ tst_res_read_file()

void tst_res_read_file ( void )
static

Definition at line 52 of file tstres.c.

References get_srcdir(), res_close(), res_get_def(), res_open(), res_read_file(), ZEBRA_FAIL, and ZEBRA_OK.

Referenced by main().