ARB
|
#include <aisc.h>
#include <struct_man.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | aisc_hash_node |
struct | trf_dest_struct |
struct | trf_struct |
Macros | |
#define | CORE |
#define | HASH_SIZE 103123 |
#define | TRF_HASH_SIZE 103123 |
Functions | |
static aisc_hash_node ** | aisc_init_hash (int size) |
static int | aisc_hash (const char *key, int size) |
static void | aisc_free_key (aisc_hash_node **table, char *key) |
static void | aisc_free_hash (aisc_hash_node **table) |
static void | aisc_insert_hash (aisc_hash_node **table, char *key, long data) |
long | aisc_read_hash (aisc_hash_node **table, const char *key) |
const char * | aisc_link (dllpublic_ext *father, dllheader_ext *object) |
const char * | aisc_unlink (dllheader_ext *object) |
long | aisc_find_lib (dllpublic_ext *parent, char *ident) |
static int | trf_hash (long p) |
void | trf_create (long old, long new_item) |
void | trf_link (long old, long *dest) |
void | trf_begin () |
void | trf_commit (int errors) |
Variables | |
static int | trf_level = 0 |
static struct trf_struct ** | trf_sp = NULp |
#define CORE |
Definition at line 25 of file struct_man.c.
Referenced by aisc_link(), and aisc_unlink().
#define HASH_SIZE 103123 |
Definition at line 26 of file struct_man.c.
Referenced by aisc_link().
#define TRF_HASH_SIZE 103123 |
Definition at line 27 of file struct_man.c.
Referenced by trf_begin(), trf_commit(), and trf_hash().
|
static |
Definition at line 36 of file struct_man.c.
References aisc_hash_node::data, aisc_hash_node::key, and tab().
Referenced by aisc_link().
Definition at line 45 of file struct_man.c.
Referenced by aisc_free_key(), aisc_insert_hash(), and aisc_read_hash().
|
static |
Definition at line 56 of file struct_man.c.
References aisc_hash(), aisc_hash_node::data, aisc_hash_node::key, and aisc_hash_node::next.
Referenced by aisc_unlink().
|
static |
Definition at line 79 of file struct_man.c.
References aisc_hash_node::data, aisc_hash_node::key, and aisc_hash_node::next.
Referenced by aisc_unlink().
|
static |
Definition at line 93 of file struct_man.c.
References aisc_hash(), aisc_hash_node::data, aisc_hash_node::key, aisc_hash_node::next, and NULp.
Referenced by aisc_link().
long aisc_read_hash | ( | aisc_hash_node ** | table, |
const char * | key | ||
) |
Definition at line 117 of file struct_man.c.
References aisc_hash(), aisc_hash_node::data, and aisc_hash_node::next.
Referenced by aisc_find_lib(), and aisc_link().
const char* aisc_link | ( | dllpublic_ext * | father, |
dllheader_ext * | object | ||
) |
Definition at line 131 of file struct_man.c.
References aisc_init_hash(), aisc_insert_hash(), aisc_read_hash(), CORE, father, HASH_SIZE, long, and NULp.
const char* aisc_unlink | ( | dllheader_ext * | object | ) |
Definition at line 185 of file struct_man.c.
References aisc_free_hash(), aisc_free_key(), CORE, father, if, and NULp.
Referenced by an_remove_short(), check_for_case_error(), pt_sort_match_list(), set_empty_addids(), and sort_tprobes_by().
Definition at line 229 of file struct_man.c.
References aisc_read_hash().
Definition at line 248 of file struct_man.c.
References TRF_HASH_SIZE.
Referenced by trf_create(), and trf_link().
Definition at line 255 of file struct_man.c.
References trf_dest_struct::dest, trf_struct::dests, GBK_terminate(), trf_struct::new_item, trf_dest_struct::next, trf_struct::next, trf_struct::old, and trf_hash().
Definition at line 284 of file struct_man.c.
References trf_dest_struct::dest, trf_struct::dests, trf_dest_struct::next, trf_struct::next, NULp, trf_struct::old, and trf_hash().
void trf_begin | ( | void | ) |
Definition at line 307 of file struct_man.c.
References TRF_HASH_SIZE.
void trf_commit | ( | int | errors | ) |
Definition at line 314 of file struct_man.c.
References trf_struct::dests, GBK_terminate(), trf_dest_struct::next, trf_struct::next, NULp, and TRF_HASH_SIZE.
|
static |
Definition at line 252 of file struct_man.c.
|
static |
Definition at line 253 of file struct_man.c.