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)
void symbol_iterate(sym_table_t *symTab, iterate_fnc_t fnc, void *data)
sym_table_t * symbol_init(int lookup_by_addr)
void(* iterate_fnc_t)(symbol_t *sym, void *data)
Definition: symbol.h:133
char * name
Definition: symbol.h:50
struct sym_table sym_table_t
Definition: symbol.h:43
char * symbol_find_by_addr(sym_table_t *symTab, int addr)
symbol_t * symbol_find_by_name(sym_table_t *symTab, const char *name)
void symbol_reset(sym_table_t *symTab)
int symbol_add(sym_table_t *symTab, const char *name, int addr)
void symbol_term(sym_table_t *symTab)