69 cursor->
name = (
unsigned char *)
strdup (name);
78 pp_cursor_table->
add_symbol (pp_cursor_table, cursor);
122 dummy.
name = (
unsigned char *) name;
153 pp_cursor_table =
NULL;
154 pp_stmt_table =
NULL;
168 FILE *stream = (FILE *) fp;
170 fprintf (stream,
" * %s (cid %d, level %d):\n", cursor->
name, cursor->
cid, cursor->
level);
180 fprintf (stream,
" *\thv[%d]: ", i);
182 fputs (
"\n", stream);
189 fputs (
" *\n", stream);
267 dummy.
name = (
unsigned char *) name;
279 pp_stmt_table->
add_symbol (pp_stmt_table, stmt);
HASH_TAB * es_ht_make_table(unsigned maxsym, HT_HASH_FN hash_function, HT_CMP_FN cmp_function)
unsigned int pp_generic_case_hash(void *p)
void *(* add_symbol)(HASH_TAB *tbl, void *sym)
void pp_print_host_ref(HOST_REF *ref, FILE *fp)
void pp_cursor_finish(void)
static HASH_TAB * pp_stmt_table
void *(* find_symbol)(HASH_TAB *tbl, void *sym)
unsigned char * static_stmt
int(* get_symbol_count)(HASH_TAB *tbl)
int(* print_table)(HASH_TAB *tbl, void(*prnt)(), void *par, int srt)
void esql_yyverror(const char *,...)
static void pp_print_cursor(void *cp, void *fp)
const char * pp_get_msg(int msg_set, int msg_num)
int pp_generic_case_cmp(void *p1, void *p2)
void pp_remove_cursors_from_table(CURSOR *chain)
void(* HT_FREE_FN)(void *)
void es_ht_free_symbol(void *sym)
void pp_cursor_init(void)
CURSOR * pp_new_cursor(char *name, char *static_stmt, int length, STMT *dynamic_stmt, HOST_LOD *host_refs)
void(* remove_symbol)(HASH_TAB *tbl, void *sym)
static HASH_TAB * pp_cursor_table
void pp_free_stmt(STMT *stmt)
STMT * pp_new_stmt(char *name)
CURSOR * pp_lookup_cursor(char *name)
void pp_discard_cursor_chain(CURSOR *chain)
void pp_print_cursors(FILE *fp)
#define free_and_init(ptr)
void pp_add_cursor_to_scope(CURSOR *cursor)
void pp_free_host_lod(HOST_LOD *lod)
char * strdup(const char *str)
void * es_ht_alloc_new_symbol(int size)
void(* free_table)(HASH_TAB *tbl, HT_FREE_FN free)
void pp_free_cursor(CURSOR *cursor)