-
- if (p->more_l && p->more_r)
- cmp = (*info->cmp)(p->buf_l, p->buf_r);
- else if (p->more_l)
- cmp = -2;
- else
- cmp = 2;
- if ( (cmp<0) && (p->more_l) )
- {
- memcpy (buf, p->buf_l, info->key_size);
- *term_index = p->term_index_l;
-#if RSET_DEBUG
- logf (LOG_DEBUG, "rsbool_forward returning L (cmp=%d)",cmp);
-#endif
- return 1;
- } else if ( (cmp>0) && (p->more_r) )
- {
- memcpy (buf, p->buf_r, info->key_size);
- *term_index = p->term_index_r + info->term_index_s;
-#if RSET_DEBUG
- logf (LOG_DEBUG, "rsbool_forward returning R (cmp=%d)",cmp);
-#endif
- return 1;
- }
- /* return ( p->more_l || p->more_r); */
- return 0;
-}
-
-static int r_count (RSET ct)
-{
- return 0;