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

◆ GRS_MAX_FIELDS

#define GRS_MAX_FIELDS   50

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

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

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