IDZEBRA
2.2.7
|
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include "dict-p.h"
Go to the source code of this file.
Functions | |
static void | common_init (Dict_BFile bf, int block_size, int cache) |
Dict_BFile | dict_bf_open (BFiles bfs, const char *name, int block_size, int cache, int rw) |
void | dict_bf_compact (Dict_BFile dbf) |
|
static |
Definition at line 35 of file dopen.c.
References Dict_file_struct::all_blocks, Dict_file_struct::all_data, Dict_file_struct::block_size, Dict_file_struct::cache, Dict_file_struct::compact_flag, Dict_file_block::data, Dict_file_struct::free_list, Dict_file_block::h_next, Dict_file_struct::hash_array, Dict_file_struct::hash_size, Dict_file_struct::hits, Dict_file_struct::lru_back, Dict_file_struct::lru_front, and Dict_file_struct::misses.
Referenced by dict_bf_open().
void dict_bf_compact | ( | Dict_BFile | dbf | ) |
Definition at line 91 of file dopen.c.
References Dict_file_struct::compact_flag.
Referenced by dict_open().
Dict_BFile dict_bf_open | ( | BFiles | bfs, |
const char * | name, | ||
int | block_size, | ||
int | cache, | ||
int | rw | ||
) |
Definition at line 75 of file dopen.c.
References Dict_file_struct::bf, bf_open(), and common_init().
Referenced by dict_open().