/* This file is part of the Zebra server.
- Copyright (C) 1994-2009 Index Data
+ Copyright (C) Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <yaz/log.h>
{
struct sgml_getc_info *p = (struct sgml_getc_info *) clientData;
int res;
-
+
if (p->off < p->size)
return p->buf[(p->off)++];
if (p->size < p->buf_size)
struct sgml_getc_info *sgi = (struct sgml_getc_info *) p->clientData;
data1_node *node;
int res;
-
+
sgi->moffset = p->stream->tellf(p->stream);
sgi->stream = p->stream;
sgi->off = 0;
};
RecType
-#ifdef IDZEBRA_STATIC_GRS_SGML
+#if IDZEBRA_STATIC_GRS_SGML
idzebra_filter_grs_sgml
#else
idzebra_filter