-/* $Id: sgmlread.c,v 1.12 2004-09-27 10:44:50 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
- Index Data Aps
+/* $Id: sgmlread.c,v 1.20 2006-05-10 08:13:31 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
#include <assert.h>
#include <yaz/log.h>
-#include "grsread.h"
+#include <idzebra/recgrs.h>
struct sgml_getc_info {
char *buf;
int buf_size;
int size;
int off;
- int moffset;
+ off_t moffset;
void *fh;
int (*readf)(void *, char *, size_t);
WRBUF wrbuf;
return p;
}
-static void grs_config_sgml(void *clientData, Res res, const char *args)
+static ZEBRA_RES grs_config_sgml(void *clientData, Res res, const char *args)
{
-
+ return ZEBRA_OK;
}
static void grs_destroy_sgml(void *clientData)
static struct recType grs_type_sgml =
{
+ 0,
"grs.sgml",
grs_init_sgml,
grs_config_sgml,
&grs_type_sgml,
0,
};
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+