CUBRID Engine  latest
esql_hash.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hash_tab_s
 

Typedefs

typedef unsigned(* HT_HASH_FN) (void *)
 
typedef int(* HT_CMP_FN) (void *, void *)
 
typedef void(* HT_FREE_FN) (void *)
 
typedef struct hash_tab_s HASH_TAB
 

Functions

HASH_TABes_ht_make_table (unsigned maxsym, HT_HASH_FN hash, HT_CMP_FN cmp)
 
void * es_ht_alloc_new_symbol (int size)
 
void es_ht_free_symbol (void *sym)
 

Typedef Documentation

typedef struct hash_tab_s HASH_TAB

Definition at line 33 of file esql_hash.h.

typedef int(* HT_CMP_FN) (void *, void *)

Definition at line 30 of file esql_hash.h.

typedef void(* HT_FREE_FN) (void *)

Definition at line 31 of file esql_hash.h.

typedef unsigned(* HT_HASH_FN) (void *)

Definition at line 29 of file esql_hash.h.

Function Documentation

void* es_ht_alloc_new_symbol ( int  size)

Definition at line 351 of file esql_hash.c.

References NULL, and pp_malloc().

Referenced by pp_new_cursor(), pp_new_stmt(), pp_new_structdef(), and pp_new_symbol().

Here is the caller graph for this function:

void es_ht_free_symbol ( void *  sym)

Definition at line 369 of file esql_hash.c.

References free_and_init.

Referenced by pp_discard_structdef(), pp_discard_symbol(), pp_free_cursor(), pp_free_stmt(), and pp_symbol_finish().

Here is the caller graph for this function: