|
Compounds |
struct | AVL_tree_st |
struct | hash_table_st |
struct | ll_st |
struct | ts_strtok_st |
Defines |
#define | FALSE 0 |
#define | TRUE 1 |
Typedefs |
typedef timeval | tv_time |
typedef timespec | ts_time |
typedef ts_strtok_st | ts_strtok_state |
typedef ll_st | ll_node |
typedef ll_st * | ll |
typedef ll | hash_el |
typedef hash_table_st | hash_table |
typedef int(* | hash_function )(void *element, int num_slots) |
typedef int(* | sc_comparator )(void *element1, void *element2) |
typedef void(* | deletor )(void *element) |
typedef AVL_tree_st * | AVL_tree |
typedef AVL_tree_st | AVL_tree_element |
typedef int(* | AVL_comparator )(void *node, void *comparison) |
typedef void(* | AVL_deletor )(void *deleteMe) |
Functions |
void | dump_buf (FILE *std, char *buf, int retlen) |
tv_time | tv_timeadd (tv_time t1, tv_time t2) |
tv_time | tv_timesub (tv_time t1, tv_time t2) |
tv_time | tv_timemul (tv_time t1, double mult) |
int | tv_timecmp (tv_time t1, tv_time t2) |
ts_time | ts_timeadd (ts_time t1, ts_time t2) |
ts_time | ts_timesub (ts_time t1, ts_time t2) |
ts_time | ts_timemul (ts_time t1, double mult) |
int | ts_timecmp (ts_time t1, ts_time t2) |
ts_strtok_state * | ts_strtok_init (char *string) |
char * | ts_strtok (char *matching, ts_strtok_state *state) |
int | ts_strtok_finish (ts_strtok_state *state) |
char * | dumb_strnstr (char *str, char *substr, int n) |
const char * | dumb_strcasestr (const char *string, const char *substr) |
int | correct_write (int s, char *data, int len) |
int | correct_read (int s, char *data, int len) |
int | ll_add_to_end (ll *addToMe, void *data) |
int | ll_add_to_start (ll *addToMe, void *data) |
ll | ll_find (ll *findInMe, void *data, int(*compare)(void *d1, void *d2)) |
int | ll_sorted_insert (ll *insertme, void *data, int(*compare)(void *d1, void *d2)) |
int | ll_del (ll *delFromMe, void *data, int(*compare)(void *d1, void *d2), void(*nukeElement)(void *nukeMe)) |
int | ll_delfirst (ll *delFromMe, void(*nukeElement)(void *nukeMe)) |
int | ll_destroy (ll *destroyMe, void(*nukeElement)(void *nukeMe)) |
int | ll_build (ll *buildMe, char *buildFromMe) |
int | chained_hash_create (int num_slots, hash_table *rt) |
int | chained_hash_destroy (hash_table ht, deletor d) |
int | chained_hash_insert (hash_table ht, void *element, hash_function f) |
void * | chained_hash_search (hash_table ht, void *element, hash_function f, sc_comparator c) |
int | chained_hash_delete (hash_table ht, void *element, hash_function f, deletor d, sc_comparator c) |
int | Tree_Add (AVL_tree *addToMe, void *addMe, AVL_comparator theComp) |
int | Tree_Delete (AVL_tree *deleteFromMe, void *deleteMe, AVL_comparator theComp, AVL_deletor theDel) |
int | Tree_Destroy (AVL_tree *destroyMe, AVL_deletor theDel) |
AVL_tree | Tree_Search (AVL_tree searchMe, void *searchForMe, AVL_comparator theComp) |
AVL_tree | Tree_First (AVL_tree searchMe) |
AVL_tree | Tree_Last (AVL_tree searchMe) |
AVL_tree | Tree_Next (AVL_tree searchMe) |