IDZEBRA  2.1.2
Data Structures | Macros | Functions
it_key.h File Reference
#include <idzebra/util.h>

Go to the source code of this file.

Data Structures

struct  it_key
 

Macros

#define IT_MAX_WORD   512
 
#define IT_KEY_LEVEL_MAX   5
 

Functions

void * iscz1_start (void)
 
void iscz1_reset (void *vp)
 
void iscz1_stop (void *p)
 
void iscz1_decode (void *vp, char **dst, const char **src)
 
void iscz1_encode (void *vp, char **dst, const char **src)
 
int key_compare (const void *p1, const void *p2)
 
void key_init (struct it_key *k)
 
zint key_get_seq (const void *p)
 
zint key_get_segment (const void *p)
 
int key_qsort_compare (const void *p1, const void *p2)
 
char * key_print_it (const void *p, char *buf)
 
void key_logdump (int mask, const void *p)
 
void key_logdump_txt (int logmask, const void *p, const char *txt)
 
int key_SU_decode (int *ch, const unsigned char *out)
 
int key_SU_encode (int ch, char *out)
 

Macro Definition Documentation

#define IT_KEY_LEVEL_MAX   5
#define IT_MAX_WORD   512

Function Documentation

void iscz1_decode ( void *  vp,
char **  dst,
const char **  src 
)
void iscz1_encode ( void *  vp,
char **  dst,
const char **  src 
)
void iscz1_reset ( void *  vp)
void* iscz1_start ( void  )

Definition at line 129 of file it_key.c.

References iscz1_reset().

Referenced by encode_key_init(), key_file_init(), key_isamc_m(), key_isams_m(), main(), and zebra_rec_keys_open().

void iscz1_stop ( void *  p)
int key_compare ( const void *  p1,
const void *  p2 
)
zint key_get_segment ( const void *  p)

Definition at line 103 of file it_key.c.

References it_key::len, and it_key::mem.

Referenced by zebra_key_control_create().

zint key_get_seq ( const void *  p)

Definition at line 96 of file it_key.c.

References it_key::len, and it_key::mem.

Referenced by zebra_key_control_create().

void key_init ( struct it_key k)

Definition at line 137 of file it_key.c.

References IT_KEY_LEVEL_MAX, it_key::len, and it_key::mem.

void key_logdump ( int  mask,
const void *  p 
)

Definition at line 62 of file it_key.c.

References key_logdump_txt().

void key_logdump_txt ( int  logmask,
const void *  p,
const char *  txt 
)
char* key_print_it ( const void *  p,
char *  buf 
)

Definition at line 67 of file it_key.c.

int key_qsort_compare ( const void *  p1,
const void *  p2 
)

Definition at line 110 of file it_key.c.

References key_compare().

Referenced by key_block_flush_int(), and zebra_index_merge().

int key_SU_decode ( int *  ch,
const unsigned char *  out 
)

Definition at line 64 of file su_codec.c.

Referenced by add_isam_p(), print_dict_item(), and zebra_log_dict_entry().

int key_SU_encode ( int  ch,
char *  out 
)