The header file of the libmy.
void my_delete_circle_list(node_t **begin)
Deletes a circular linked list.
Definition my_delete_circled_list.c:20
int my_list_size_circled(node_t const *begin)
Adds a node at the end of the circular linked list.
Definition my_list_size_circled.c:15
void my_push_front(node_t **begin, void *data, type_t type)
Adds a node at the beginning of the list.
Definition my_push_front.c:15
void my_push_back_circled(node_t **begin, void *data, type_t type)
Adds a node at the beginning of the circular linked list.
Definition my_push_back_circled.c:15
int my_list_size(node_t const *begin)
Returns the size of the linked list.
Definition my_list_size.c:15
void my_push_back(node_t **begin, void *data, type_t type)
Adds a node at the end of the list.
Definition my_push_back.c:15
node_t * my_pop_front(node_t **begin)
Removes the first node of the list.
Definition my_pop_front.c:15
node_t * my_previous_to_next(node_t **head, node_t *to_delete)
Skip a node in a linked list and change the previous node to the next node.
Definition my_previous_to_next.c:15
node_t * my_params_to_list(int ac, char *const *av)
Creates a linked list from the arguments (argc and argv)
Definition my_params_to_list.c:15
node_t * my_find_node(node_t const *begin, void const *data, int(*cmp)())
Finds a node in the linked list.
Definition my_find_node.c:15
node_t * my_pop_back(node_t **begin)
Removes the last node of the list.
Definition my_pop_back.c:15
void my_concat_list(node_t **begin1, node_t *begin2)
Concatenates two linked lists.
Definition my_concat_list.c:15
node_t * my_pop_node(node_t **begin, void const *data_ref, int(*cmp)())
Removes a node from the list.
Definition my_pop_node.c:25
void ** my_list_to_array(node_t *list)
Converts the linked list to an array.
Definition my_list_to_array.c:15
void ** my_list_to_array_circled(node_t **list)
Converts the circular linked list to an array.
Definition my_list_to_array_circled.c:15
int my_delete_nodes(node_t **begin, void const *data_ref, int(*cmp)())
Deletes nodes from a linked list.
Definition my_delete_nodes.c:28
void my_show_list(node_t *list)
Displays the linked list.
Definition my_show_list.c:77
void my_sort_list(node_t **begin, int(*cmp)())
Sorts the linked list.
Definition my_sort_list.c:26
void my_delete_list(node_t **begin)
Deletes the linked list.
Definition my_delete_list.c:15
void my_merge_list(node_t **begin1, node_t *begin2, int(*cmp)())
Merges two linked lists.
Definition my_merge_list.c:15
void my_rev_list(node_t **begin)
Reverses the linked list.
Definition my_rev_list.c:15