IDZEBRA  2.1.2
Data Structures | Functions | Variables
rsisams.c File Reference
#include <stdio.h>
#include <assert.h>
#include <idzebra/util.h>
#include <rset.h>

Go to the source code of this file.

Data Structures

struct  rfd_private
 
struct  rset_private
 

Functions

static RSFD r_open (RSET ct, int flag)
 
static void r_close (RSFD rfd)
 
static void r_delete (RSET ct)
 
static int r_read (RSFD rfd, void *buf, TERMID *term)
 
static void r_pos (RSFD rfd, double *current, double *total)
 
RSET rsisams_create (NMEM nmem, struct rset_key_control *kcontrol, int scope, ISAMS is, ISAM_P pos, TERMID term)
 

Variables

static const struct rset_control control
 

Function Documentation

static void r_close ( RSFD  rfd)
static

Definition at line 98 of file rsisams.c.

References isams_pp_close(), rsfd::priv, and rfd_private::pt.

static void r_delete ( RSET  ct)
static

Definition at line 70 of file rsisams.c.

RSFD r_open ( RSET  ct,
int  flag 
)
static
static void r_pos ( RSFD  rfd,
double *  current,
double *  total 
)
static

Definition at line 115 of file rsisams.c.

static int r_read ( RSFD  rfd,
void *  buf,
TERMID term 
)
static

Definition at line 106 of file rsisams.c.

References isams_pp_read(), rsfd::priv, rfd_private::pt, rsfd::rset, and rset::term.

RSET rsisams_create ( NMEM  nmem,
struct rset_key_control kcontrol,
int  scope,
ISAMS  is,
ISAM_P  pos,
TERMID  term 
)

Definition at line 57 of file rsisams.c.

References rset_private::is, rset::nmem, rset_private::pos, rset::priv, and rset_create_base().

Referenced by zebra_create_rset_isam().

Variable Documentation

const struct rset_control control
static
Initial value:
=
{
"isams",
0,
}
static int r_read(RSFD rfd, void *buf, TERMID *term)
Definition: rsisams.c:106
int rset_no_write(RSFD rfd, const void *buf)
Definition: rset.c:431
static void r_delete(RSET ct)
Definition: rsisams.c:70
void rset_get_one_term(RSET ct, TERMID *terms, int maxterms, int *curterm)
is a getterms function for those that don&#39;t have any
Definition: rset.c:291
static void r_pos(RSFD rfd, double *current, double *total)
Definition: rsisams.c:115
static RSFD r_open(RSET ct, int flag)
Definition: rsisams.c:75
static void r_close(RSFD rfd)
Definition: rsisams.c:98

Definition at line 34 of file rsisams.c.