IDZEBRA
2.2.7
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <idzebra/util.h>
#include <rset.h>
Go to the source code of this file.
Data Structures | |
struct | rset_between_info |
struct | rset_between_rfd |
Functions | |
static RSFD | r_open (RSET ct, int flag) |
static void | r_close (RSFD rfd) |
static void | r_delete (RSET ct) |
static int | r_forward (RSFD rfd, void *buf, TERMID *term, const void *untilbuf) |
static int | r_read (RSFD rfd, void *buf, TERMID *term) |
static void | r_pos (RSFD rfd, double *current, double *total) |
static void | r_get_terms (RSET ct, TERMID *terms, int maxterms, int *curterm) |
static void | checkterm (RSET rs, char *tag, NMEM nmem) |
RSET | rset_create_between (NMEM nmem, struct rset_key_control *kcontrol, int scope, RSET rset_l, RSET rset_m1, RSET rset_m2, RSET rset_r, RSET rset_attr) |
static void | checkattr (RSFD rfd) |
Variables | |
static const struct rset_control | control |
static int | log_level = 0 |
static int | log_level_initialized = 0 |
|
static |
Definition at line 211 of file rsbetween.c.
References rset_between_info::attrterm, rset_key_control::cmp, rset::keycontrol, log_level, rsfd::priv, rset::priv, and rsfd::rset.
Referenced by r_read().
|
static |
Definition at line 91 of file rsbetween.c.
References rset_term::rset, rset_term_create(), and rset::term.
Referenced by rset_create_between().
|
static |
Definition at line 194 of file rsbetween.c.
References rset_between_rfd::andrfd, log_level, rsfd::priv, and rset_close().
|
static |
Definition at line 159 of file rsbetween.c.
Definition at line 201 of file rsbetween.c.
References rset_between_rfd::andrfd, log_level, rsfd::priv, and rset_forward.
Definition at line 338 of file rsbetween.c.
References rset::children, and rset_getterms.
Definition at line 164 of file rsbetween.c.
References rset_between_rfd::attrbuf, rset_key_control::key_size, rset::keycontrol, rset::nmem, rsfd::priv, rset_between_rfd::recbuf, rfd_create_base(), RSETF_WRITE, and rset_between_rfd::startbuf.
|
static |
Definition at line 331 of file rsbetween.c.
References rset_between_rfd::andrfd, log_level, rsfd::priv, and rset_pos.
Definition at line 237 of file rsbetween.c.
References rset_between_info::attrterm, checkattr(), rset_key_control::cmp, rset_between_info::hit2_terms, rset_key_control::key_size, rset::keycontrol, log_level, rsfd::priv, rset::priv, rsfd::rset, rset_read, rset::scope, rset_between_info::startterm, rset_between_info::stopterm, and ZINT_FORMAT.
RSET rset_create_between | ( | NMEM | nmem, |
struct rset_key_control * | kcontrol, | ||
int | scope, | ||
RSET | rset_l, | ||
RSET | rset_m1, | ||
RSET | rset_m2, | ||
RSET | rset_r, | ||
RSET | rset_attr | ||
) |
Definition at line 101 of file rsbetween.c.
References rset_between_info::attrterm, checkterm(), rset::children, control, rset_between_info::hit2_terms, log_level, log_level_initialized, rset::nmem, rset::no_children, rset::priv, rset_create_and(), rset_create_base(), scope, rset_between_info::startterm, rset_between_info::stopterm, and rset::term.
Referenced by rpn_search_structure(), and rpn_search_xpath().
|
static |
Definition at line 49 of file rsbetween.c.
Referenced by rset_create_between().
|
static |
Definition at line 85 of file rsbetween.c.
Referenced by checkattr(), r_close(), r_forward(), r_pos(), r_read(), and rset_create_between().
|
static |
Definition at line 86 of file rsbetween.c.
Referenced by rset_create_between().