aboutsummaryrefslogtreecommitdiff
path: root/include/libft_dstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libft_dstr.h')
-rw-r--r--include/libft_dstr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libft_dstr.h b/include/libft_dstr.h
index 732e475..d482f73 100644
--- a/include/libft_dstr.h
+++ b/include/libft_dstr.h
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/03 10:39:51 by charles #+# #+# */
-/* Updated: 2020/04/05 00:37:05 by charles ### ########.fr */
+/* Updated: 2020/06/09 17:35:47 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -35,6 +35,7 @@ typedef struct s_ftdstr
t_ftdstr *ft_dstrnew(char *from);
void ft_dstrdestroy(t_ftdstr *dstr);
t_ftdstr *ft_dstrgrow(t_ftdstr *dstr, size_t at_least);
+t_ftdstr *ft_dstrwrap(char *str);
char *ft_dstrunwrap(t_ftdstr *dstr);
t_ftdstr *ft_dstrinsert(t_ftdstr *dstr, char *inserted, size_t i);
void ft_dstrerase(t_ftdstr *dstr, size_t start, size_t len);