2 * Copyright (C) 1994-2002, Index Data
4 * Sebastian Hammer, Adam Dickmeiss
6 * $Id: grsread.h,v 1.9 2002-05-13 14:13:43 adam Exp $
12 #include <yaz/data1.h>
18 struct grs_read_info {
20 int (*readf)(void *, char *, size_t);
21 off_t (*seekf)(void *, off_t);
22 off_t (*tellf)(void *);
23 void (*endf)(void *, off_t);
31 typedef struct recTypeGrs {
34 void (*destroy)(void *clientData);
35 data1_node *(*read)(struct grs_read_info *p);
38 extern RecTypeGrs recTypeGrs_sgml;
39 extern RecTypeGrs recTypeGrs_regx;
40 extern RecTypeGrs recTypeGrs_tcl;
41 extern RecTypeGrs recTypeGrs_marc;
42 extern RecTypeGrs recTypeGrs_xml;