X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Frectext.c;h=4c275225c764fbbab606dc2093ba7390c5e45f38;hb=3c5f6226f97612c0d6ac40591f600587c5ffa858;hp=1b5ab747b95f1904c2945c03d28bf5864af1308c;hpb=3c1fd34223220690747a11e43a2d5833a8e7e3f7;p=idzebra-moved-to-github.git diff --git a/recctrl/rectext.c b/recctrl/rectext.c index 1b5ab74..4c27522 100644 --- a/recctrl/rectext.c +++ b/recctrl/rectext.c @@ -1,10 +1,17 @@ /* - * Copyright (C) 1994-1998, Index Data I/S + * Copyright (C) 1994-1998, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rectext.c,v $ - * Revision 1.7 1998-03-11 11:19:05 adam + * Revision 1.9 1998-10-16 08:14:38 adam + * Updated record control system. + * + * Revision 1.8 1998/05/20 10:12:27 adam + * Implemented automatic EXPLAIN database maintenance. + * Modified Zebra to work with ASN.1 compiled version of YAZ. + * + * Revision 1.7 1998/03/11 11:19:05 adam * Changed the way sequence numbers are generated. * * Revision 1.6 1998/02/10 12:03:06 adam @@ -60,7 +67,11 @@ #include #include "rectext.h" -static void text_init (void) +static void text_init (RecType recType) +{ +} + +static void text_destroy (RecType recType) { } @@ -126,7 +137,7 @@ static int text_extract (struct recExtractCtrl *p) { recWord.string = w; recWord.length = i; - (*p->add)(&recWord); + (*p->addWord)(&recWord); } } while (r > 0); buf_close (fi); @@ -207,6 +218,7 @@ static int text_retrieve (struct recRetrieveCtrl *p) static struct recType text_type = { "text", text_init, + text_destroy, text_extract, text_retrieve };