diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-27 18:55:07 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-27 18:55:07 +0200 |
commit | 487a66394061f2d14a2fa421302966b5442d643f (patch) | |
tree | 34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /src/ft_s_struct.h | |
parent | Correct shell prompt (diff) | |
download | 42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz 42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2 42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz 42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst 42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip |
I couldn't see shit
Diffstat (limited to 'src/ft_s_struct.h')
-rw-r--r-- | src/ft_s_struct.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h deleted file mode 100644 index 3a8df0a..0000000 --- a/src/ft_s_struct.h +++ /dev/null @@ -1,68 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_s_struct.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ -/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef FT_S_STRUCT_H -#define FT_S_STRUCT_H - -#include <stdint.h> - -#include "ft_d_define.h" - -/* -** redir(int8_t) index -** -------------------- -** -1: < -** 1: > -** 2: >> -** 0: means no redirection -*/ - -typedef struct s_lpipes *t_lpipes; - -typedef struct s_lvars -{ - char *name; - char *val; - struct s_lvars *next; -} t_lvars; - -typedef struct s_lcom -{ - char *com; - char **argv; - int8_t redir; - int32_t rdrfd; - char *rdrpath; - struct s_lpipes *pipes; - struct s_lcom *next; -} t_lcom; - -struct s_lpipes -{ - struct s_lcom *one; - struct s_lpipes *next; -}; - -typedef struct s_msh -{ - char **envp; - char *ps_one; - char *cwd; - uint8_t ret; - char *shname; - char **bu_ref; - uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*); - struct s_lcom *curr; - struct s_lvars *vars; -} t_msh; - -#endif |