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

◆ ISAMS_BLOCK_SIZE

typedef unsigned ISAMS_BLOCK_SIZE

Definition at line 38 of file isams.c.

Function Documentation

◆ isams_close()

int isams_close ( ISAMS  is)

◆ isams_getmethod()

void isams_getmethod ( ISAMS_M m)

◆ isams_merge()

ISAM_P isams_merge ( ISAMS  is,
ISAMS_I  data 
)

◆ isams_open()

ISAMS isams_open ( BFiles  bfs,
const char *  name,
int  writeflag,
ISAMS_M method 
)

◆ isams_pp_close()

void isams_pp_close ( ISAMS_PP  pp)

◆ isams_pp_num()

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_open()

ISAMS_PP isams_pp_open ( ISAMS  is,
ISAM_P  pos 
)

◆ isams_pp_read()

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().

◆ isams_read_item()

int isams_read_item ( ISAMS_PP  pp,
char **  dst 
)