IDZEBRA  2.1.3
Data Structures | Functions
merge.c File Reference
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <yaz/log.h>
#include "isamc-p.h"

Go to the source code of this file.

Data Structures

struct  isamc_merge_block


static void flush_blocks (ISAMC is, struct isamc_merge_block *mb, int ptr, char *r_buf, zint *firstpos, int cat, int last, zint *numkeys)
static int get_border (ISAMC is, struct isamc_merge_block *mb, zint ptr, int cat, zint firstpos)
void isamc_merge (ISAMC is, ISAM_P *ipos, ISAMC_I *data)

Function Documentation

static void flush_blocks ( ISAMC  is,
struct isamc_merge_block mb,
int  ptr,
char *  r_buf,
zint firstpos,
int  cat,
int  last,
zint numkeys 
static int get_border ( ISAMC  is,
struct isamc_merge_block mb,
zint  ptr,
int  cat,
zint  firstpos 
void isamc_merge ( ISAMC  is,
ISAM_P ipos,
ISAMC_I data