aboutsummaryrefslogtreecommitdiff
path: root/header.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-29 05:20:35 +0100
committerCharles <sircharlesaze@gmail.com>2019-10-29 05:20:35 +0100
commit66ed3290deb97057875aa7372741595e3fa290a6 (patch)
treec2123744a3775f274a07bab24841690498e36fad /header.h
parent87bce91050b56915dcf5964f6f66d5f47299e7f3 (diff)
downloadft_printf-66ed3290deb97057875aa7372741595e3fa290a6.tar.gz
ft_printf-66ed3290deb97057875aa7372741595e3fa290a6.tar.bz2
ft_printf-66ed3290deb97057875aa7372741595e3fa290a6.zip
String conversion refactor, malloc protection
Diffstat (limited to 'header.h')
-rw-r--r--header.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/header.h b/header.h
index 359bff9..72108ab 100644
--- a/header.h
+++ b/header.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/29 00:06:46 by cacharle #+# #+# */
-/* Updated: 2019/10/29 00:10:16 by cacharle ### ########.fr */
+/* Updated: 2019/10/29 05:01:00 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -80,9 +80,11 @@ t_pformat *parse_reduced(char *fmt);
** printer.c
*/
-void handle_padding(t_pformat *pformat, char *str);
-char *convert_to_str(t_pformat *pformat, va_list ap);
-void handle_precision(t_pformat *pformat, char *str);
+char *convert(t_pformat *pformat, va_list ap);
+char *convert_type(t_conversion conversion, va_list ap);
+char *handle_padding(t_pformat *pformat, char *str);
+char *handle_precision(t_pformat *pformat, char *str);
+char *add_address_prefix(char *addr);
/*
** utils.c