summaryrefslogtreecommitdiffstats
path: root/src/d_enum.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:46:03 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:46:03 +0200
commit5eb753276ff9052d3ef93fd2b931a9bfb482590c (patch)
treee0dcc220be90eff1224b9ee1ee706253cb63ef2f /src/d_enum.h
parentNames update (diff)
download42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.gz
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.bz2
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.xz
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.zst
42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.zip
Renamed quite some stuff
Diffstat (limited to 'src/d_enum.h')
-rw-r--r--src/d_enum.h100
1 files changed, 50 insertions, 50 deletions
diff --git a/src/d_enum.h b/src/d_enum.h
index 636598d..b05d526 100644
--- a/src/d_enum.h
+++ b/src/d_enum.h
@@ -10,8 +10,8 @@
/* */
/* ************************************************************************** */
-#ifndef D_ENUM_H
-#define D_ENUM_H
+#ifndef FT_D_ENUM_H
+# define FT_D_ENUM_H
/*
** ret vals:
@@ -20,69 +20,69 @@
** 1: alloc err
*/
-enum
+enum e_ret
{
- FT_RET_FINE,
- FT_RET_ALLOC
+ M_RET_FINE,
+ M_RET_ALLOC
};
-enum
+enum e_pipe_ends
{
- FT_WRITE_END,
- FT_READ_END
+ E_WRITE_END,
+ E_READ_END
};
-typedef enum
+typedef enum e_quote_mode
{
Q_NONE,
Q_SINGLE,
Q_DOUBLE
-} t_quote_mode;
+} t_quote_mode;
-enum
+enum e_builtins_id
{
- 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_ID_SQB,
- FT_ID_ALIAS,
- F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