diff --git a/includes/ft_printf.h b/includes/ft_printf.h index b3f5c45..81874d6 100644 --- a/includes/ft_printf.h +++ b/includes/ft_printf.h @@ -17,7 +17,13 @@ # include # include +typedef int (*t_func)(va_list, int fd); +typedef struct s_format +{ + char character; + t_func function; +} t_format; size_t ft_strlen(const char *str); void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret);