YAZ  5.23.1
Macros | Functions
read-grs.c File Reference

Little toy-thing to read GRS-1 records from a file. More...

#include <stdio.h>
#include <stdlib.h>
#include <yaz/proto.h>
#include <yaz/log.h>
#include "ztest.h"

Go to the source code of this file.

Macros

#define GRS_MAX_FIELDS   50
 

Functions

static Z_GenericRecordread_grs1 (FILE *f, ODR o)
 
Z_GenericRecorddummy_grs_record (int num, ODR o)
 

Detailed Description

Little toy-thing to read GRS-1 records from a file.

Definition in file read-grs.c.

Macro Definition Documentation

#define GRS_MAX_FIELDS   50

Definition at line 20 of file read-grs.c.

Referenced by read_grs1().

Function Documentation

Z_GenericRecord* dummy_grs_record ( int  num,
ODR  o 
)

Definition at line 100 of file read-grs.c.

References read_grs1().

Referenced by ztest_fetch().

static Z_GenericRecord* read_grs1 ( FILE *  f,
ODR  o 
)
static