IDZEBRA  2.1.2
Data Structures | Typedefs | Functions
isams.c File Reference
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <yaz/log.h>
#include <yaz/xmalloc.h>
#include <idzebra/isams.h>

Go to the source code of this file.

Data Structures

struct  ISAMS_head
 
struct  ISAMS_s
 
struct  ISAMS_PP_s
 

Typedefs

typedef unsigned ISAMS_BLOCK_SIZE
 

Functions

void isams_getmethod (ISAMS_M *m)
 
ISAMS isams_open (BFiles bfs, const char *name, int writeflag, ISAMS_M *method)
 
int isams_close (ISAMS is)
 
ISAM_P isams_merge (ISAMS is, ISAMS_I data)
 
ISAMS_PP isams_pp_open (ISAMS is, ISAM_P pos)
 
void isams_pp_close (ISAMS_PP pp)
 
int isams_pp_num (ISAMS_PP pp)
 
int isams_pp_read (ISAMS_PP pp, void *buf)
 
int isams_read_item (ISAMS_PP pp, char **dst)
 

Typedef Documentation

typedef unsigned ISAMS_BLOCK_SIZE

Definition at line 38 of file isams.c.

Function Documentation

int isams_close ( ISAMS  is)
void isams_getmethod ( ISAMS_M m)
ISAM_P isams_merge ( ISAMS  is,
ISAMS_I  data 
)
ISAMS isams_open ( BFiles  bfs,
const char *  name,
int  writeflag,
ISAMS_M method 
)
void isams_pp_close ( ISAMS_PP  pp)
int isams_pp_num ( ISAMS_PP  pp)

Definition at line 222 of file isams.c.

References ISAMS_PP_s::numKeys.

Referenced by inv_stat_handle().

ISAMS_PP isams_pp_open ( ISAMS  is,
ISAM_P  pos 
)
int isams_pp_read ( ISAMS_PP  pp,
void *  buf 
)

Definition at line 227 of file isams.c.

References isams_read_item().

Referenced by inv_stat_handle(), r_read(), and rset_trunc_r().

int isams_read_item ( ISAMS_PP  pp,
char **  dst 
)