summaryrefslogtreecommitdiff
path: root/push_swap.h
diff options
context:
space:
mode:
authorDominik Kaiser2024-04-12 18:51:50 +0200
committerDominik Kaiser2024-04-12 18:51:50 +0200
commit9c64c9d253fa22b29005ec53dca6fedcead2ae6c (patch)
treed7e01093e0a5a4ef9b4ef2bc674ec86e3b97e452 /push_swap.h
parent1f1d95faadca635adcb8e46bb0aecc0574654a24 (diff)
downloadpush_swap-9c64c9d253fa22b29005ec53dca6fedcead2ae6c.tar.gz
push_swap-9c64c9d253fa22b29005ec53dca6fedcead2ae6c.zip
Add libft and input handling
Diffstat (limited to 'push_swap.h')
-rw-r--r--push_swap.h31
1 files changed, 30 insertions, 1 deletions
diff --git a/push_swap.h b/push_swap.h
index aa1fb38..0c86ee7 100644
--- a/push_swap.h
+++ b/push_swap.h
@@ -1,6 +1,35 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* push_swap.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2024/04/12 16:59:09 by dkaiser #+# #+# */
+/* Updated: 2024/04/12 18:15:21 by dkaiser ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#ifndef PUSH_SWAP_H
-#define PUSH_SWAP_H
+# define PUSH_SWAP_H
+# include "libft/libft.h"
+# include <stdlib.h>
+enum e_pscmd
+{
+ SA,
+ SB,
+ SS,
+ PA,
+ PB,
+ RA,
+ RB,
+ RR,
+ RRA,
+ RRB,
+ RRR
+};
+t_list *create_stack(int argc, char *argv[]);
#endif // PUSH_SWAP_H