summaryrefslogtreecommitdiffstats
path: root/src/ft_d_define.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 17:26:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 17:26:12 +0200
commitcc4ede7ead7622c096bc598aad3e10baf93c4350 (patch)
treeb21c1c5137968306462c67542f7e622c11d2a5a7 /src/ft_d_define.h
parentNo more leaks (diff)
download42-minishell-cc4ede7ead7622c096bc598aad3e10baf93c4350.tar.gz
42-minishell-cc4ede7ead7622c096bc598aad3e10baf93c4350.tar.bz2
42-minishell-cc4ede7ead7622c096bc598aad3e10baf93c4350.tar.xz
42-minishell-cc4ede7ead7622c096bc598aad3e10baf93c4350.tar.zst
42-minishell-cc4ede7ead7622c096bc598aad3e10baf93c4350.zip
Good so far
Diffstat (limited to 'src/ft_d_define.h')
-rw-r--r--src/ft_d_define.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ft_d_define.h b/src/ft_d_define.h
index b30be21..e5ef970 100644
--- a/src/ft_d_define.h
+++ b/src/ft_d_define.h
@@ -13,8 +13,21 @@
#ifndef FT_D_DEFINE_H
#define FT_D_DEFINE_H
+#include "ft_d_enum.h"
+
+/*
+** ====== CLASSICS ======
+*/
+
#define FT_PS_ONE "minishell ~> "
#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit|cat"
#define FT_BUILTINS_COUNT 8
+/*
+** ====== FAIL MSG ======
+*/
+
+#define FT_FAIL_ALLOC "failed to allocate memory"
+#define FT_FAIL_NO_OPTIONS "no options required"
+
#endif