IDZEBRA  2.2.7
Data Fields
rset_key_control Struct Reference

#include <rset.h>

Data Fields

void * context
 
int key_size
 
int scope
 
int(* cmp )(const void *p1, const void *p2)
 
void(* key_logdump_txt )(int logmask, const void *p, const char *txt)
 
zint(* getseq )(const void *p)
 
zint(* get_segment )(const void *p)
 
int(* filter_func )(const void *p, void *data)
 
void * filter_data
 
void(* inc )(struct rset_key_control *kc)
 
void(* dec )(struct rset_key_control *kc)
 

Detailed Description

key_control contains all there is to know about the keys stored in an isam, and therefore operated by the rsets. Other than this info, all we assume is that all keys are the same size, and they can be memcpy'd around

Definition at line 126 of file rset.h.

Field Documentation

◆ cmp

int(* rset_key_control::cmp) (const void *p1, const void *p2)

◆ context

void* rset_key_control::context

Definition at line 127 of file rset.h.

Referenced by my_dec(), my_inc(), and zebra_key_control_create().

◆ dec

void(* rset_key_control::dec) (struct rset_key_control *kc)

◆ filter_data

void* rset_key_control::filter_data

Definition at line 136 of file rset.h.

Referenced by my_dec(), and zebra_key_control_create().

◆ filter_func

int(* rset_key_control::filter_func) (const void *p, void *data)

Definition at line 135 of file rset.h.

Referenced by rsisamb_create(), and zebra_key_control_create().

◆ get_segment

zint(* rset_key_control::get_segment) (const void *p)

Definition at line 134 of file rset.h.

Referenced by r_read_and(), and zebra_key_control_create().

◆ getseq

zint(* rset_key_control::getseq) (const void *p)

Definition at line 133 of file rset.h.

Referenced by r_forward(), and zebra_key_control_create().

◆ inc

void(* rset_key_control::inc) (struct rset_key_control *kc)

Definition at line 137 of file rset.h.

Referenced by rset_create_base(), and zebra_key_control_create().

◆ key_logdump_txt

void(* rset_key_control::key_logdump_txt) (int logmask, const void *p, const char *txt)

Definition at line 132 of file rset.h.

Referenced by zebra_key_control_create().

◆ key_size

int rset_key_control::key_size

◆ scope

int rset_key_control::scope

The documentation for this struct was generated from the following file: