aboutsummaryrefslogtreecommitdiff
path: root/include/minishell.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-03-30 22:27:16 +0200
committerCharles <sircharlesaze@gmail.com>2020-03-30 22:27:16 +0200
commit941099778b59da6b904c284e8a82affe4766124b (patch)
tree4457787a1b09408fcd1a5607109cc1c902c80af8 /include/minishell.h
parent74787eefa2ac85d85b484d0ca5dffc6a2a13331d (diff)
downloadminishell-941099778b59da6b904c284e8a82affe4766124b.tar.gz
minishell-941099778b59da6b904c284e8a82affe4766124b.tar.bz2
minishell-941099778b59da6b904c284e8a82affe4766124b.zip
Added doc
Diffstat (limited to 'include/minishell.h')
-rw-r--r--include/minishell.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/minishell.h b/include/minishell.h
index 04ab243..9931b15 100644
--- a/include/minishell.h
+++ b/include/minishell.h
@@ -14,6 +14,11 @@
#ifndef MINISHELL_H
# define MINISHELL_H
+/**
+** \file minishell.h
+** \brief Common header
+*/
+
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
@@ -31,8 +36,16 @@
# include "ms_parse.h"
-# define MS_PATH_KEY "PATH"
+/**
+** \brief Pipe write index
+*/
+
# define MS_PIPE_WRITE 1
+
+/**
+** \brief Pipe read index
+*/
+
# define MS_PIPE_READ 0
typedef t_ftht* t_path;