X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Fsgmlread.c;h=dd9167e5c13d906f221c822897b7ea84f9cc931d;hb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;hp=7edfbdfb3f30b6a53af7e9b5c1ee587f755b457c;hpb=22963c0b23a178529bc71e5879c7e4f9c3c9b7f9;p=idzebra-moved-to-github.git diff --git a/recctrl/sgmlread.c b/recctrl/sgmlread.c index 7edfbdf..dd9167e 100644 --- a/recctrl/sgmlread.c +++ b/recctrl/sgmlread.c @@ -1,6 +1,6 @@ -/* $Id: sgmlread.c,v 1.13 2004-09-28 10:15:03 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. @@ -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; @@ -89,9 +89,9 @@ static void *grs_init_sgml(Res res, RecType recType) 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) @@ -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, @@ -134,3 +135,11 @@ idzebra_filter &grs_type_sgml, 0, }; +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +