/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_linked_list.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: tischmid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/01 15:25:59 by tischmid #+# #+# */ /* Updated: 2023/04/01 17:18:42 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_LINKED_LIST_H # define FT_LINKED_LIST_H typedef struct s_map_entry { char *key; char *value; struct s_map_entry *next; } t_map_entry; char *ll_map_get(t_map_entry *head, char *key); void ll_map_push(t_map_entry *head, char *key, char *value); void ll_clear(t_map_entry *head); t_map_entry *ll_map_new_node(char *key, char *value); t_map_entry *ll_pop_last(t_map_entry *head); #endif