|
IDZEBRA 2.2.8
|
#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_prox_info |
| struct | rset_prox_rfd |
Macros | |
| #define | RSET_DEBUG 0 |
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) |
| RSET | rset_create_prox (NMEM nmem, struct rset_key_control *kcontrol, int scope, int rset_no, RSET *rset, int ordered, int exclusion, int relation, int distance) |
Variables | |
| static const struct rset_control | control |
|
static |
Definition at line 134 of file rsprox.c.
References rset::no_children, rsfd::priv, rset_prox_rfd::rfd, rsfd::rset, and rset_close().
Definition at line 144 of file rsprox.c.
References rset_prox_rfd::buf, rset_key_control::cmp, rset_prox_info::distance, rset_prox_info::exclusion, rset_key_control::getseq, rset_prox_rfd::hits, rset_key_control::key_size, rset::keycontrol, rset_prox_rfd::more, rset::no_children, rset_prox_info::ordered, rsfd::priv, rset::priv, rset_prox_info::relation, rset_prox_rfd::rfd, rsfd::rset, rset_forward, rset_read, rset::scope, and rset_prox_rfd::terms.
Referenced by r_read().
Definition at line 335 of file rsprox.c.
References rset::children, rset::no_children, rset_getterms, and rset_prox_rfd::terms.
Definition at line 94 of file rsprox.c.
References rset_prox_rfd::buf, rset::children, rset::control, rset_control::desc, rset_prox_rfd::hits, rset_key_control::key_size, rset::keycontrol, rset_prox_rfd::more, rset::nmem, rset::no_children, rsfd::priv, rset_prox_rfd::rfd, rfd_create_base(), rset_open, rset_read, RSETF_READ, RSETF_WRITE, and rset_prox_rfd::terms.
|
static |
Definition at line 307 of file rsprox.c.
References rset_prox_rfd::hits, rset::no_children, rsfd::priv, rset_prox_rfd::rfd, rsfd::rset, and rset_pos.
Definition at line 302 of file rsprox.c.
References r_forward().
| RSET rset_create_prox | ( | NMEM | nmem, |
| struct rset_key_control * | kcontrol, | ||
| int | scope, | ||
| int | rset_no, | ||
| RSET * | rset, | ||
| int | ordered, | ||
| int | exclusion, | ||
| int | relation, | ||
| int | distance | ||
| ) |
Definition at line 72 of file rsprox.c.
References control, rset_prox_info::distance, rset_prox_info::exclusion, rset::nmem, rset_prox_info::ordered, rset::priv, rset_prox_info::relation, rset_create_base(), and scope.
Referenced by rpn_search_APT_and_list(), rpn_search_APT_or_list(), rpn_search_APT_phrase(), and rpn_search_structure().
|
static |
Definition at line 43 of file rsprox.c.
Referenced by rset_create_prox().