diff options
Diffstat (limited to 'include/libft_lst.h')
| -rw-r--r-- | include/libft_lst.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libft_lst.h b/include/libft_lst.h index f92067d..a48c1aa 100644 --- a/include/libft_lst.h +++ b/include/libft_lst.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 10:36:39 by cacharle #+# #+# */ -/* Updated: 2020/02/16 02:15:26 by cacharle ### ########.fr */ +/* Updated: 2020/02/17 03:05:36 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -43,6 +43,10 @@ void ft_lstremove_if(t_ftlst **lst, t_ftdel_func del); t_ftlst *ft_lstbsearch(t_ftlst *lst, t_ftcompar_func cmp, const void *ref); +t_ftlst *ft_lstlsearch(t_ftlst *lst, t_ftcompar_func cmp, + const void *ref); +t_ftlst *ft_lstlfind(t_ftlst *lst, t_ftcompar_func cmp, + const void *ref); void ft_lstsort(t_ftlst **begin_list, t_ftcompar_func cmp); t_ftlst *ft_lstsorted_merge(t_ftlst *l1, t_ftlst *l2, t_ftcompar_func cmp); |
