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

Functions

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

◆ flush_blocks()

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

◆ get_border()

static int get_border ( ISAMC  is,
struct isamc_merge_block mb,
zint  ptr,
int  cat,
zint  firstpos 
)
static

◆ isamc_merge()

void isamc_merge ( ISAMC  is,
ISAM_P ipos,
ISAMC_I data 
)