35 #define SYMBOL_SIZE 997
43 typedef struct sym_table sym_table_t;
int addr
Definition: symbol.h:51
struct node * symbol_search(sym_table_t *symTab, const char *name, int *hash, int *index)
Definition: symbol.c:76
void symbol_iterate(sym_table_t *symTab, iterate_fnc_t fnc, void *data)
Definition: symbol.c:92
sym_table_t * symbol_init(int lookup_by_addr)
Definition: symbol.c:58
void(* iterate_fnc_t)(symbol_t *sym, void *data)
Definition: symbol.h:133
char * name
Definition: symbol.h:50
int hash
Definition: symbol.c:30
char * symbol_find_by_addr(sym_table_t *symTab, int addr)
Definition: symbol.c:87
symbol_t * symbol_find_by_name(sym_table_t *symTab, const char *name)
Definition: symbol.c:82
void symbol_reset(sym_table_t *symTab)
Definition: symbol.c:67
int symbol_add(sym_table_t *symTab, const char *name, int addr)
Definition: symbol.c:71
void symbol_term(sym_table_t *symTab)
Definition: symbol.c:63