diff options
| author | Dominik Kaiser | 2024-05-08 13:05:37 +0200 |
|---|---|---|
| committer | GitHub | 2024-05-08 13:05:37 +0200 |
| commit | 50fd99cba74b758be23aafc4f76b5e63ef86977f (patch) | |
| tree | 1fa796501488d746f2d22c7bee80e5212dc830cc /include/pipex.h | |
| parent | b05f8b0d22aa0bcf2d993d56b62055e042d55853 (diff) | |
| parent | 334aaa56cd3963f171afec6e852b9c07ad613828 (diff) | |
| download | pipex-50fd99cba74b758be23aafc4f76b5e63ef86977f.tar.gz pipex-50fd99cba74b758be23aafc4f76b5e63ef86977f.zip | |
Merging dev into master
This should be all.
Diffstat (limited to 'include/pipex.h')
| -rw-r--r-- | include/pipex.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/pipex.h b/include/pipex.h index 1a79cf1..d1e9c77 100644 --- a/include/pipex.h +++ b/include/pipex.h @@ -6,7 +6,7 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/04/29 14:04:28 by dkaiser #+# #+# */ -/* Updated: 2024/04/29 16:38:38 by dkaiser ### ########.fr */ +/* Updated: 2024/05/07 16:36:21 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,4 +16,16 @@ # include "../libft/libft.h" # include <unistd.h> +typedef struct s_pxdata +{ + int in_fd; + int out_fd; + char **cmds; +} t_pxdata; + +char **get_split_path(char *envp[]); +char *get_pwd(char *envp[]); +char *find_in_path(char *cmd, char **path); +char *get_cmd_path(char *cmd, char **path, char *pwd); +t_pxdata *get_pxdata(int argc, char *argv[], char *envp[]); #endif // PIPEX_H |
