void ft_lstadd_back(t_list **lst, t_list *new)
Adds node at pointer new to the end of the list starting at pointer pointed to by lst.
void ft_lstclear(t_list **lst, void(*del)(void *))
Delete every node in a list along with it's content.
t_list * ft_lstmap(t_list *lst, void *(*f)(void *), void(*del)(void *))
Iterate over a list and create a new one from the results of applying f to the content of each node.
t_list * ft_lstnew(void *content)
Allocates a new node, set it's content, and return it's address.
struct s_list * next
Pointer to the next node.
void * content
void* to the node's contents.