summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 21:11:02 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 21:11:02 +0100
commitea373d1d6b23447b72c3ba6504a9027df559599b (patch)
treedb71addcffda4e130b7fd920b74ab7e3f0a2d70d /src/s_struct.h
parentNormed libft (diff)
download42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.gz
42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.bz2
42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.xz
42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.tar.zst
42-minishell-ea373d1d6b23447b72c3ba6504a9027df559599b.zip
Norming in progress
Diffstat (limited to '')
-rw-r--r--src/s_struct.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index 5d19dd4..ee70a31 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -53,8 +53,8 @@ typedef struct s_lredir
{
char path[PATH_MAX];
char *heredoc;
- int fd;
- int right_fd;
+ int fd;
+ int right_fd;
char redir;
struct s_lredir *next;
} t_lredir;
@@ -84,7 +84,7 @@ struct s_lpipes
typedef struct s_line_block
{
char *lblock;
- unsigned char nextif;
+ unsigned char nextif;
struct s_line_block *next;
} t_line_block;
@@ -95,7 +95,7 @@ typedef struct s_msh
struct s_lpipes *pipes;
struct s_lvars *vars;
struct s_lalias *alias;
- int argc;
+ int argc;
char **argv;
char **envp;
char *prev_hist;
@@ -104,9 +104,9 @@ typedef struct s_msh
char env_fork_tmp[128][4096];
char sqb_ref[B_ID_SQB_COUNT][4];
char *cwd;
- int fd;
- unsigned char (*bu_ptr[B_BUILTINS_COUNT])(char **, struct s_msh*);
- unsigned char ret;
+ int fd;
+ unsigned char (*bu_ptr[B_BUILTINS_COUNT])(char **, struct s_msh*);
+ unsigned char ret;
} t_msh;
#endif