YAZ 5.37.0
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

◆ GRS_MAX_FIELDS

#define GRS_MAX_FIELDS   50

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

Referenced by read_grs1().

Function Documentation

◆ dummy_grs_record()

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().

◆ read_grs1()