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

29 lines
1.1 KiB
C
Raw Normal View History

2024-03-22 21:23:17 +01:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
2024-03-28 23:05:43 +01:00
/* parsing.h :+: :+: :+: */
2024-03-22 21:23:17 +01:00
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
2024-03-28 23:05:43 +01:00
/* Created: 2024/03/28 16:54:40 by adjoly #+# #+# */
2024-04-03 16:41:58 +02:00
/* Updated: 2024/04/03 13:56:08 by adjoly ### ########.fr */
2024-03-22 21:23:17 +01:00
/* */
/* ************************************************************************** */
2024-03-28 23:05:43 +01:00
#ifndef PARSING_H
# define PARSING_H
2024-03-22 21:23:17 +01:00
2024-04-03 16:41:58 +02:00
# include "libft.h"
2024-03-28 23:05:43 +01:00
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);
2024-03-28 23:05:43 +01:00
#endif