add fct for list & struct in libft.h