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

◆ IT_KEY_LEVEL_MAX

#define IT_KEY_LEVEL_MAX   5

Definition at line 29 of file it_key.h.

◆ IT_MAX_WORD

#define IT_MAX_WORD   512

Definition at line 27 of file it_key.h.

Function Documentation

◆ iscz1_decode()

void iscz1_decode ( void *  vp,
char **  dst,
const char **  src 
)

◆ iscz1_encode()

void iscz1_encode ( void *  vp,
char **  dst,
const char **  src 
)

◆ iscz1_reset()

void iscz1_reset ( void *  vp)

◆ iscz1_start()

void* iscz1_start ( void  )

Definition at line 130 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().

◆ iscz1_stop()

void iscz1_stop ( void *  p)

◆ key_compare()

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

◆ key_get_segment()

zint key_get_segment ( const void *  p)

Definition at line 104 of file it_key.c.

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

Referenced by zebra_key_control_create().

◆ key_get_seq()

zint key_get_seq ( const void *  p)

Definition at line 97 of file it_key.c.

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

Referenced by zebra_key_control_create().

◆ key_init()

void key_init ( struct it_key k)

Definition at line 138 of file it_key.c.

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

◆ key_logdump()

void key_logdump ( int  mask,
const void *  p 
)

Definition at line 63 of file it_key.c.

References key_logdump_txt().

◆ key_logdump_txt()

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

◆ key_print_it()

char* key_print_it ( const void *  p,
char *  buf 
)

Definition at line 68 of file it_key.c.

◆ key_qsort_compare()

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

Definition at line 111 of file it_key.c.

References key_compare().

Referenced by key_block_flush_int(), and zebra_index_merge().

◆ key_SU_decode()

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

◆ key_SU_encode()

int key_SU_encode ( int  ch,
char *  out 
)