Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

keyprint.c File Reference

#include <stdio.h>
#include "ht.h"
#include "keydef.h"
#include "keyerr.h"

Defines

#define eq_pntr(p1, p2)   ((p1.block==p2.block) && (p1.segment==p2.segment))
#define null_ptr(p)   ((p.segment==max_segments) && (p.block==0))

Functions

void print_index_block ()
void unpack_ptr ()
void mvc ()
boolean null_pntr (struct leveln_pntr p)
boolean is_primary (struct fcb *f, int bufix)
void get_page (struct fcb *f, struct leveln_pntr blk, block_type_t *buf)
void print_lc_key (FILE *list, struct key *k, char caption[])
void print_rec_key (FILE *list, struct key *k, char caption[])
void print_user_key (FILE *list, struct key *k, char caption[])
void print_any_key (FILE *list, int index, struct key *k, char caption[])
void print_key1 (FILE *list, struct key *k, char caption[])
void print_key (FILE *list, unsigned char key[], int lc, char caption[])
boolean block_is_sorted (struct ix_block *b)
int key_length (struct ix_block *b)
int uncompressed_key_length (struct ix_block *b)
void check_index_chain (FILE *list, struct fcb *f, struct leveln_pntr head, struct leveln_pntr parent_head)
void check_index (FILE *list, struct fcb *f, int index)
int print_freespace_chain (FILE *list, struct fcb *f)
int print_empty_block_chain (FILE *list, struct fcb *f, int index_type, int level)
boolean contiguous (struct level0_pntr p1, struct level0_pntr p2)
int print_freespace_summary (FILE *list, struct fcb *f)
int print_freespace (FILE *list, struct fcb *f)
int print_hash_chain (FILE *list, struct fcb *f, int ix)
void print_buffer_MRU_chain (FILE *list, struct fcb *f)
void print_buffer_summary (FILE *list, struct fcb *f)
void print_segments (FILE *list, struct fcb *f)
void print_files (FILE *list, struct fcb *f)
void print_index_block (FILE *list, struct ix_block *b)
void print_index_block1 (FILE *list, struct fcb *f, int bufix)
void print_index1 (FILE *list, struct fcb *f)
void print_index (FILE *list, struct fcb *f, int index_type)
void print_levels (FILE *list, struct fcb *f)
void print_fib (FILE *list, struct fcb *f)
void print_fcb (FILE *list, struct fcb *f)

Variables

leveln_pntr nulln_ptr = {max_segments,0}

Define Documentation

#define eq_pntr (  p1,
p2    )     ((p1.block==p2.block) && (p1.segment==p2.segment))
 

#define null_ptr (  p    )     ((p.segment==max_segments) && (p.block==0))
 


Function Documentation

boolean block_is_sorted (  struct ix_block *    b )  [static]
 

fcb print procedures *

void check_index (  FILE *    list,
struct fcb *    f,
int    index
) 
 

void check_index_chain (  FILE *    list,
struct fcb *    f,
struct leveln_pntr    head,
struct leveln_pntr    parent_head
)  [static]
 

boolean contiguous (  struct level0_pntr    p1,
struct level0_pntr    p2
)  [static]
 

void get_page (  struct fcb *    f,
struct leveln_pntr    blk,
block_type_t *    buf
) 
 

boolean is_primary (  struct fcb *    f,
int    bufix
) 
 

int key_length (  struct ix_block *    b )  [static]
 

void mvc (    ) 
 

boolean null_pntr (  struct leveln_pntr    p ) 
 

void print_any_key (  FILE *    list,
int    index,
struct key *    k,
char    caption[]
)  [static]
 

void print_buffer_MRU_chain (  FILE *    list,
struct fcb *    f
) 
 

void print_buffer_summary (  FILE *    list,
struct fcb *    f
) 
 

int print_empty_block_chain (  FILE *    list,
struct fcb *    f,
int    index_type,
int    level
) 
 

void print_fcb (  FILE *    list,
struct fcb *    f
) 
 

void print_fib (  FILE *    list,
struct fcb *    f
) 
 

void print_files (  FILE *    list,
struct fcb *    f
) 
 

int print_freespace (  FILE *    list,
struct fcb *    f
) 
 

int print_freespace_chain (  FILE *    list,
struct fcb *    f
) 
 

int print_freespace_summary (  FILE *    list,
struct fcb *    f
) 
 

int print_hash_chain (  FILE *    list,
struct fcb *    f,
int    ix
) 
 

void print_index (  FILE *    list,
struct fcb *    f,
int    index_type
) 
 

void print_index1 (  FILE *    list,
struct fcb *    f
) 
 

void print_index_block (  FILE *    list,
struct ix_block *    b
) 
 

void print_index_block (    ) 
 

void print_index_block1 (  FILE *    list,
struct fcb *    f,
int    bufix
) 
 

void print_key (  FILE *    list,
unsigned char    key[],
int    lc,
char    caption[]
) 
 

void print_key1 (  FILE *    list,
struct key *    k,
char    caption[]
) 
 

void print_lc_key (  FILE *    list,
struct key *    k,
char    caption[]
)  [static]
 

void print_levels (  FILE *    list,
struct fcb *    f
) 
 

void print_rec_key (  FILE *    list,
struct key *    k,
char    caption[]
)  [static]
 

void print_segments (  FILE *    list,
struct fcb *    f
) 
 

void print_user_key (  FILE *    list,
struct key *    k,
char    caption[]
)  [static]
 

int uncompressed_key_length (  struct ix_block *    b )  [static]
 

void unpack_ptr (    ) 
 


Variable Documentation

struct leveln_pntr nulln_ptr = {max_segments,0} [static]
 


Generated on Wed Nov 3 12:59:14 2004 for Lemur Toolkit by doxygen1.2.18