summaryrefslogtreecommitdiffstats
path: root/src/d_enum.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
commit5cb3373a2e5a5109a5d3b72ef45978b98f885706 (patch)
tree11a0a6f467da3ddf227d2eaf6824c4509242025e /src/d_enum.h
parentok nice (diff)
parent$? fix (diff)
download42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.gz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.bz2
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.xz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.zst
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.zip
Merge branch 'master' into fix-pwd
Diffstat (limited to '')
-rw-r--r--src/d_enum.h (renamed from src/ft_d_enum.h)25
1 files changed, 16 insertions, 9 deletions
diff --git a/src/ft_d_enum.h b/src/d_enum.h
index 680ff00..921195f 100644
--- a/src/ft_d_enum.h
+++ b/src/d_enum.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_d_enum.h :+: :+: :+: */
+/* d_enum.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,8 +10,8 @@
/* */
/* ************************************************************************** */
-#ifndef FT_D_ENUM_H
-#define FT_D_ENUM_H
+#ifndef D_ENUM_H
+#define D_ENUM_H
/*
** ret vals:
@@ -20,12 +20,6 @@
** 1: alloc err
*/
-typedef enum
-{
- FALSE,
- TRUE
-} t_bool;
-
enum
{
FT_RET_FINE,
@@ -38,4 +32,17 @@ enum
FT_READ_END
};
+enum
+{
+ FT_ID_ECHO,
+ FT_ID_CD,
+ FT_ID_PWD,
+ FT_ID_EXPORT,
+ FT_ID_UNSET,
+ FT_ID_ENV,
+ FT_ID_EXIT,
+ FT_ID_TYPE,
+ FT_BUILTINS_COUNT
+};
+
#endif