X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Fsgmlread.c;h=2fa0f9352d8246262e7da9fef86430865b89034b;hb=6eede4f6572f495e9363015b336d9e17662a5368;hp=d0cca8ce04e13952142f45a72f9c869f0d9b3521;hpb=6c9fcd3b5d3108702fa1ffc92dab4ab6060f9a19;p=idzebra-moved-to-github.git diff --git a/recctrl/sgmlread.c b/recctrl/sgmlread.c index d0cca8c..2fa0f93 100644 --- a/recctrl/sgmlread.c +++ b/recctrl/sgmlread.c @@ -1,4 +1,4 @@ -/* $Id: sgmlread.c,v 1.16 2005-01-15 19:38:32 adam Exp $ +/* $Id: sgmlread.c,v 1.19 2006-04-26 11:12:32 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -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,