-/* $Id: rectext.c,v 1.20 2004-09-27 10:44:50 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: rectext.c,v 1.25 2005-03-30 09:25:24 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
#include <assert.h>
#include <ctype.h>
-#include <zebrautl.h>
-#include <recctrl.h>
+#include <idzebra/util.h>
+#include <idzebra/recctrl.h>
struct text_info {
char *sep;
struct buf_info *fi = buf_open (p);
#if 0
- yaz_log(LOG_LOG, "text_extract off=%ld",
+ yaz_log(YLOG_LOG, "text_extract off=%ld",
(long) (*fi->p->tellf)(fi->p->fh));
#endif
xfree(tinfo->sep);
}
if (i)
{
- recWord.string = w;
- recWord.length = i;
+ recWord.term_buf = w;
+ recWord.term_len = i;
(*p->tokenAdd)(&recWord);
}
} while (r > 0);