- rset_isams_parms *pt = (struct rset_isams_parms *) parms;
- struct rset_isams_info *info;
-
- ct->flags |= RSET_FLAG_VOLATILE;
- info = (struct rset_isams_info *) xmalloc (sizeof(*info));
- info->is = pt->is;
- info->pos = pt->pos;
- info->ispt_list = NULL;
- ct->no_rset_terms = 1;
- ct->rset_terms = (RSET_TERM *) xmalloc (sizeof(*ct->rset_terms));
- ct->rset_terms[0] = pt->rset_term;
- return info;
+ RSET rnew = rset_create_base(&control, nmem, kcontrol, scope, term, 0, 0);
+ struct rset_private *info;
+ info = (struct rset_private *) nmem_malloc(rnew->nmem, sizeof(*info));
+ rnew->priv = info;
+ info->is = is;
+ info->pos = pos;
+ return rnew;
+}
+
+static void r_delete (RSET ct)
+{
+ yaz_log (YLOG_DEBUG, "rsisams_delete");