#include "setup.h"#include <stddef.h>Go to the source code of this file.
Classes | |
| struct | curl_llist_element |
| struct | curl_llist |
Typedefs | |
| typedef void(* | curl_llist_dtor )(void *, void *) |
Functions | |
| void | Curl_llist_init (struct curl_llist *, curl_llist_dtor) |
| struct curl_llist * | Curl_llist_alloc (curl_llist_dtor) |
| int | Curl_llist_insert_next (struct curl_llist *, struct curl_llist_element *, const void *) |
| int | Curl_llist_insert_prev (struct curl_llist *, struct curl_llist_element *, const void *) |
| int | Curl_llist_remove (struct curl_llist *, struct curl_llist_element *, void *) |
| int | Curl_llist_remove_next (struct curl_llist *, struct curl_llist_element *, void *) |
| size_t | Curl_llist_count (struct curl_llist *) |
| void | Curl_llist_destroy (struct curl_llist *, void *) |
| typedef void(* curl_llist_dtor)(void *, void *) |
| struct curl_llist* Curl_llist_alloc | ( | curl_llist_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 * | ) |
| void Curl_llist_destroy | ( | struct curl_llist * | , | |
| void * | ||||
| ) |
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 * | , | |
| curl_llist_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 * | , | |
| struct curl_llist_element * | , | |||
| const void * | ||||
| ) |
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_insert_prev | ( | struct curl_llist * | , | |
| struct curl_llist_element * | , | |||
| const void * | ||||
| ) |
| int Curl_llist_remove | ( | struct curl_llist * | , | |
| struct curl_llist_element * | , | |||
| void * | ||||
| ) |
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().
| int Curl_llist_remove_next | ( | struct curl_llist * | , | |
| struct curl_llist_element * | , | |||
| void * | ||||
| ) |
1.5.6