#include "setup.h"#include <string.h>#include <stdlib.h>#include "llist.h"#include "memory.h"#include "memdebug.h"Go to the source code of this file.
Functions | |
| void | Curl_llist_init (struct curl_llist *l, curl_llist_dtor dtor) |
| struct curl_llist * | Curl_llist_alloc (curl_llist_dtor dtor) |
| int | Curl_llist_insert_next (struct curl_llist *list, struct curl_llist_element *e, const void *p) |
| int | Curl_llist_remove (struct curl_llist *list, struct curl_llist_element *e, void *user) |
| void | Curl_llist_destroy (struct curl_llist *list, void *user) |
| size_t | Curl_llist_count (struct curl_llist *list) |
| struct curl_llist* Curl_llist_alloc | ( | curl_llist_dtor | dtor | ) | [read] |
Definition at line 45 of file llist.c.
References Curl_llist_init(), malloc, and NULL.
Referenced by CreateConnection(), and Curl_hash_init().
| size_t Curl_llist_count | ( | struct curl_llist * | list | ) |
| void Curl_llist_destroy | ( | struct curl_llist * | list, | |
| void * | user | |||
| ) |
Definition at line 124 of file llist.c.
References Curl_llist_remove(), free, curl_llist::size, and curl_llist::tail.
Referenced by conn_free(), CreateConnection(), Curl_hash_clean(), and Curl_hash_init().
| void Curl_llist_init | ( | struct curl_llist * | l, | |
| curl_llist_dtor | dtor | |||
| ) |
Definition at line 36 of file llist.c.
References curl_llist::dtor, curl_llist::head, NULL, curl_llist::size, and curl_llist::tail.
Referenced by Curl_llist_alloc().
| int Curl_llist_insert_next | ( | struct curl_llist * | list, | |
| struct curl_llist_element * | e, | |||
| const void * | p | |||
| ) |
Definition at line 62 of file llist.c.
References curl_llist::head, malloc, curl_llist_element::next, NULL, curl_llist_element::prev, curl_llist_element::ptr, curl_llist::size, and curl_llist::tail.
Referenced by Curl_addHandleToPipeline(), and Curl_hash_add().
| int Curl_llist_remove | ( | struct curl_llist * | list, | |
| struct curl_llist_element * | e, | |||
| void * | user | |||
| ) |
Definition at line 95 of file llist.c.
References curl_llist::dtor, free, curl_llist::head, curl_llist_element::next, NULL, curl_llist_element::prev, curl_llist_element::ptr, curl_llist::size, and curl_llist::tail.
Referenced by Curl_hash_clean_with_criterium(), Curl_hash_delete(), Curl_llist_destroy(), Curl_removeHandleFromPipeline(), and signalPipeClose().
1.5.6