projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved zebrautl.h to idzebra/util.h.
[idzebra-moved-to-github.git]
/
recctrl
/
rectext.c
diff --git
a/recctrl/rectext.c
b/recctrl/rectext.c
index
9d8d165
..
48460d5
100644
(file)
--- a/
recctrl/rectext.c
+++ b/
recctrl/rectext.c
@@
-1,6
+1,6
@@
-/* $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.
This file is part of the Zebra server.
@@
-25,8
+25,8
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <assert.h>
#include <ctype.h>
#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 text_info {
char *sep;
@@
-105,7
+105,7
@@
static int text_extract (void *clientData, struct recExtractCtrl *p)
struct buf_info *fi = buf_open (p);
#if 0
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);
(long) (*fi->p->tellf)(fi->p->fh));
#endif
xfree(tinfo->sep);
@@
-124,8
+124,8
@@
static int text_extract (void *clientData, struct recExtractCtrl *p)
}
if (i)
{
}
if (i)
{
- recWord.string = w;
- recWord.length = i;
+ recWord.term_buf = w;
+ recWord.term_len = i;
(*p->tokenAdd)(&recWord);
}
} while (r > 0);
(*p->tokenAdd)(&recWord);
}
} while (r > 0);