Skip to content

Commit

Permalink
Update libft.h
Browse files Browse the repository at this point in the history
  • Loading branch information
augustobecker authored Aug 22, 2022
1 parent 1eacab6 commit defe7ab
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libft.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: acesar-l <acesar-l@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/07 16:53:29 by acesar-l #+# #+# */
/* Updated: 2021/03/06 10:00:42 by acesar-l ### ########.fr */
/* Updated: 2022/08/22 18:32:26 by acesar-l ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -16,6 +16,12 @@
# include <unistd.h>
# include <stdarg.h>

typedef enum e_bool
{
false,
true
} t_bool;

typedef struct s_list
{
void *content;
Expand Down Expand Up @@ -69,12 +75,9 @@ void ft_lstdelone(t_list *lst, void (*del)(void *));
void ft_lstclear(t_list **lst, void (*del)(void*));
void ft_lstiter(t_list *lst, void (*f)(void *));
t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *));

int ft_count_occurrences(char *str, char c);
void free_str_array(char **array);

char *get_next_line(int fd);

int ft_printf(const char *str, ...);
int ft_argument_c(char c);
int ft_arguments_d_i(int c);
Expand Down

0 comments on commit defe7ab

Please sign in to comment.