diff --git a/holberton.h b/holberton.h index 22d9c78..5d751f6 100644 --- a/holberton.h +++ b/holberton.h @@ -1,6 +1,18 @@ #ifndef __HOLBERTON_H__ #define __HOLBERTON_H__ +/** + * struct printer - format printer struct + * @spec: the format specifier + * @fn: the function that handles spec + */ +typedef struct printer +{ + char *spec; + int (*fn) (va_list); +} print_t; + + int _putchar(char c); #endif