diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-20 14:51:11 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-20 14:51:11 +0200 |
commit | 613541b99bb02a4dd03d8bd9391eeab5a4c5e986 (patch) | |
tree | 83c129b139e7865cbc81d6237ace8e9e1fdb78a2 /src/s_lredir.h | |
parent | Good luck have fuck (diff) | |
download | 42-minishell-613541b99bb02a4dd03d8bd9391eeab5a4c5e986.tar.gz 42-minishell-613541b99bb02a4dd03d8bd9391eeab5a4c5e986.tar.bz2 42-minishell-613541b99bb02a4dd03d8bd9391eeab5a4c5e986.tar.xz 42-minishell-613541b99bb02a4dd03d8bd9391eeab5a4c5e986.tar.zst 42-minishell-613541b99bb02a4dd03d8bd9391eeab5a4c5e986.zip |
Redirs rework in progress
Diffstat (limited to 'src/s_lredir.h')
-rw-r--r-- | src/s_lredir.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/s_lredir.h b/src/s_lredir.h new file mode 100644 index 0000000..3349329 --- /dev/null +++ b/src/s_lredir.h @@ -0,0 +1,22 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* s_lredir.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 S_LREDIR_H +#define S_LREDIR_H + +#include "s_struct.h" + +void s_lredir_add_back(t_lredir **lredir, t_lredir *new) +void s_lredir_clear(struct s_lredir **lredir) +struct s_lredir *s_lredir_new(const char path[], int32_t fd, int8_t redir) + +#endif |