/* This file is part of the Zebra server.
- Copyright (C) 2004-2013 Index Data
+ Copyright (C) Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
static int r_forward(RSFD rfd, void *buf,
TERMID *term, const void *untilbuf);
static int r_read(RSFD rfd, void *buf, TERMID *term );
-static int r_write(RSFD rfd, const void *buf);
static void r_pos(RSFD rfd, double *current, double *total);
static void r_get_terms(RSET ct, TERMID *terms, int maxterms, int *curterm);
r_forward,
r_pos,
r_read,
- r_write,
+ rset_no_write,
};
#define STARTTAG 0
} /* r_read */
-
-static int r_write(RSFD rfd, const void *buf)
-{
- yaz_log(YLOG_FATAL, "between set type is read-only");
- return -1;
-}
-
-
static void r_pos(RSFD rfd, double *current, double *total)
{
struct rset_between_rfd *p=(struct rset_between_rfd *)rfd->priv;