summaryrefslogtreecommitdiffstats
path: root/src/m_loop_next.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-05 14:48:49 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-05 14:48:49 +0200
commit3976118a6e9acd035d20ef79d92632ecb962814e (patch)
treefdcf1e85b2e4c492c9955299f6e0a2e24d5272c8 /src/m_loop_next.h
parentThis is all wrong (diff)
download42-minishell-3976118a6e9acd035d20ef79d92632ecb962814e.tar.gz
42-minishell-3976118a6e9acd035d20ef79d92632ecb962814e.tar.bz2
42-minishell-3976118a6e9acd035d20ef79d92632ecb962814e.tar.xz
42-minishell-3976118a6e9acd035d20ef79d92632ecb962814e.tar.zst
42-minishell-3976118a6e9acd035d20ef79d92632ecb962814e.zip
Rewrite in progress
Diffstat (limited to '')
-rw-r--r--src/m_loop_next.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/m_loop_next.h b/src/m_loop_next.h
index b4ca62c..1c80e2a 100644
--- a/src/m_loop_next.h
+++ b/src/m_loop_next.h
@@ -17,6 +17,13 @@
#include "s_struct.h"
+enum
+{
+ M_NO_MODE,
+ M_SQ_MODE,
+ M_DQ_MODE
+};
+
char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh);
char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh);
char *m_check_multi_and(int32_t fd, char line[], t_msh *msh);