8 #if defined(__cplusplus) 17 #if defined STDC_HEADERS 19 #elif defined HAVE_STDLIB_H 26 #ifdef HAVE_INTTYPES_H 27 # include <inttypes.h> 30 #if defined __GNUC__ && __GNUC__ >= 4 31 #pragma GCC visibility push(default) 34 #if SIZEOF_LONG == SIZEOF_VOIDP 36 #elif SIZEOF_LONG_LONG == SIZEOF_VOIDP 39 # error ---->> st.c requires sizeof(void*) == sizeof(long) or sizeof(LONG_LONG) to be compiled. <<---- 41 #define ST_DATA_T_DEFINED 68 #define SIZEOF_ST_INDEX_T SIZEOF_VOIDP 75 #define ST_INDEX_BITS (sizeof(st_index_t) * CHAR_BIT) 106 #define st_is_member(table,key) st_lookup((table),(key),(st_data_t *)0) 144 #define st_hash_start(h) ((st_index_t)(h)) 146 #if defined __GNUC__ && __GNUC__ >= 4 147 #pragma GCC visibility pop 150 #if defined(__cplusplus)
st_index_t st_hash_uint(st_index_t h, st_index_t i)
int st_insert(st_table *, st_data_t, st_data_t)
st_index_t st_hash_uint32(st_index_t h, uint32_t i)
int st_numcmp(st_data_t, st_data_t)
struct st_packed_entry * entries
SSL_METHOD *(* func)(void)
void st_free_table(st_table *)
int st_get_key(st_table *, st_data_t, st_data_t *)
st_table * st_init_strtable(void)
int st_update(st_table *table, st_data_t key, st_update_callback_func *func, st_data_t arg)
struct st_table::@84::@86 packed
unsigned int entries_packed
st_index_t st_hash_func(st_data_t)
int st_insert2(st_table *, st_data_t, st_data_t, st_data_t(*)(st_data_t))
st_table * st_init_strcasetable(void)
char st_check_for_sizeof_st_index_t[SIZEOF_VOIDP==(int) sizeof(st_index_t) ? 1 :-1]
int st_lookup(st_table *, st_data_t, st_data_t *)
st_table * st_init_strcasetable_with_size(st_index_t)
struct st_table::@84::@85 big
int st_strncasecmp(const char *s1, const char *s2, size_t n)
void st_add_direct(st_table *, st_data_t, st_data_t)
int st_delete(st_table *, st_data_t *, st_data_t *)
int st_compare_func(st_data_t, st_data_t)
struct st_table_entry * head
st_index_t(* hash)(ANYARGS)
st_table * st_init_strtable_with_size(st_index_t)
st_index_t st_hash_end(st_index_t h)
struct st_table_entry ** bins
st_table * st_init_numtable(void)
st_index_t st_hash(const void *ptr, size_t len, st_index_t h)
st_table * st_init_table_with_size(const struct st_hash_type *, st_index_t)
size_t st_memsize(const st_table *)
int st_reverse_foreach(st_table *, int(*)(ANYARGS), st_data_t)
int st_foreach_check(st_table *, int(*)(ANYARGS), st_data_t, st_data_t)
int st_strcasecmp(const char *s1, const char *s2)
const struct st_hash_type * type
void st_cleanup_safe(st_table *, st_data_t)
st_table * st_copy(st_table *)
void st_clear(st_table *)
st_table * st_init_table(const struct st_hash_type *)
st_table * st_init_numtable_with_size(st_index_t)
struct st_table_entry * tail
int st_delete_safe(st_table *, st_data_t *, st_data_t *, st_data_t)
st_index_t st_numhash(st_data_t)
int st_update_callback_func(st_data_t *key, st_data_t *value, st_data_t arg, int existing)
int st_foreach(st_table *, int(*)(ANYARGS), st_data_t)