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

Go to the source code of this file.

Data Structures

struct  rset_pp_info
 
struct  rset_isamc_info
 

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 rsisamc_create (NMEM nmem, struct rset_key_control *kcontrol, int scope, ISAMC is, ISAM_P pos, TERMID term)
 

Variables

static const struct rset_control control
 
static int log_level = 0
 
static int log_level_initialized = 0
 

Function Documentation

static void r_close ( RSFD  rfd)
static

Definition at line 110 of file rsisamc.c.

References isamc_pp_close(), rsfd::priv, and rset_pp_info::pt.

static void r_delete ( RSET  ct)
static

Definition at line 80 of file rsisamc.c.

References log_level.

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

Definition at line 129 of file rsisamc.c.

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

Definition at line 118 of file rsisamc.c.

References isamc_pp_read(), log_level, rsfd::priv, rset_pp_info::pt, rsfd::rset, and rset::term.

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

Variable Documentation

const struct rset_control control
static
Initial value:
=
{
"isamc",
0,
}
static int r_read(RSFD rfd, void *buf, TERMID *term)
Definition: rsisamc.c:118
int rset_no_write(RSFD rfd, const void *buf)
Definition: rset.c:431
static void r_delete(RSET ct)
Definition: rsisamc.c:80
static void r_pos(RSFD rfd, double *current, double *total)
Definition: rsisamc.c:129
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 RSFD r_open(RSET ct, int flag)
Definition: rsisamc.c:86
static void r_close(RSFD rfd)
Definition: rsisamc.c:110

Definition at line 35 of file rsisamc.c.

int log_level = 0
static

Definition at line 58 of file rsisamc.c.

Referenced by r_delete(), r_open(), r_read(), and rsisamc_create().

int log_level_initialized = 0
static

Definition at line 59 of file rsisamc.c.

Referenced by rsisamc_create().