IDZEBRA  2.1.3
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


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)


static const struct rset_control control

Function Documentation

static void r_close ( RSFD  rfd)

Definition at line 98 of file rsisams.c.

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

static void r_delete ( RSET  ct)

Definition at line 70 of file rsisams.c.

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

Definition at line 115 of file rsisams.c.

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

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
Initial value:
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.