aboutsummaryrefslogtreecommitdiff
path: root/src/push_swap/push_swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/push_swap/push_swap.h')
-rw-r--r--src/push_swap/push_swap.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/push_swap/push_swap.h b/src/push_swap/push_swap.h
index 0e553e0..e22fa9a 100644
--- a/src/push_swap/push_swap.h
+++ b/src/push_swap/push_swap.h
@@ -1,4 +1,33 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* push_swap.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/01/19 09:10:11 by cacharle #+# #+# */
+/* Updated: 2020/01/19 13:16:06 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#ifndef PUSH_SWAP_H
# define PUSH_SWAP_H
+# include "libft.h"
+# include "common.h"
+
+/*
+** sort.c
+*/
+
+void push_swap_sort(t_stack *main, t_stack *tmp);
+
+/*
+** stack_wrapper.c
+*/
+
+void stack_swap_print(t_stack *stack);
+void stack_rotate_print(t_stack *stack);
+void stack_push_to_print(t_stack *from, t_stack *to);
+
#endif