Archived
1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
pipex/include/parsing.h
2024-04-03 16:41:58 +02:00

29 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* parsing.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/28 16:54:40 by adjoly #+# #+# */
/* Updated: 2024/04/03 13:56:08 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PARSING_H
# define PARSING_H
# include "libft.h"
typedef struct s_pcmd
{
char *cmd;
char **option;
} t_pcmd;
void ft_freearr(char **arr);
t_pcmd split_cmd(char *cmd_av);
t_pcmd *parse_cmd(int ac, char **av);
#endif