+static int r_read(RSFD rfd, void *buf, TERMID *term)
+{
+ struct rfd_private *pinfo = (struct rfd_private *)(rfd->priv);
+ int rc;
+ rc = isamb_pp_read(pinfo->pt, buf);
+ if (rc && term)
+ *term = rfd->rset->term;
+ yaz_log(log_level, "isamb.r_read ");
+ return rc;
+}
+
+static int r_read_filter(RSFD rfd, void *buf, TERMID *term)