summaryrefslogtreecommitdiffstats
path: root/src/e_pipes_next.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/e_pipes_next.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/e_pipes_next.h b/src/e_pipes_next.h
new file mode 100644
index 0000000..fe042d6
--- /dev/null
+++ b/src/e_pipes_next.h
@@ -0,0 +1,25 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* e_pipes_next.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_E_PIPES_NEXT_H
+# define FT_E_PIPES_NEXT_H
+
+# include <stddef.h>
+# include <stdint.h>
+
+# include "s_struct.h"
+
+void e_pipe_child(char *fullpath[], uint8_t pipe_id, t_com *ptr, t_msh *msh);
+size_t e_get_pipes_count(struct s_lpipes *ptr);
+void e_close_unused_fds(int32_t fd[256][2], size_t pipes);
+
+#endif