X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Fsgmlread.c;h=110be784f4c05745f0845155410f30886eb1788d;hb=6dfee19bc1cec29ff5ec5e9cd8021d1354a6126e;hp=ba9cbb16ca0b7435dc5d976e3d6c73d61337cc5f;hpb=5437b50633032595afe6f87dc0f989bc92a5aea8;p=idzebra-moved-to-github.git diff --git a/recctrl/sgmlread.c b/recctrl/sgmlread.c index ba9cbb1..110be78 100644 --- a/recctrl/sgmlread.c +++ b/recctrl/sgmlread.c @@ -1,6 +1,6 @@ -/* $Id: sgmlread.c,v 1.14 2004-11-19 10:27:13 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 - Index Data Aps +/* $Id: sgmlread.c,v 1.18 2005-11-16 04:33:22 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -22,7 +22,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include -#include +#include #include @@ -31,7 +31,7 @@ struct sgml_getc_info { int buf_size; int size; int off; - int moffset; + off_t moffset; void *fh; int (*readf)(void *, char *, size_t); WRBUF wrbuf; @@ -115,6 +115,7 @@ static int grs_retrieve_sgml(void *clientData, struct recRetrieveCtrl *ctrl) static struct recType grs_type_sgml = { + 0, "grs.sgml", grs_init_sgml, grs_config_sgml,