mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 06:58:47 +02:00
「🏗️」 wip: Parsing struct done(hopfully)
This commit is contained in:
@ -6,26 +6,25 @@
|
|||||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/25 12:20:26 by adjoly #+# #+# */
|
/* Created: 2024/04/25 12:20:26 by adjoly #+# #+# */
|
||||||
/* Updated: 2024/05/07 14:07:10 by adjoly ### ########.fr */
|
/* Updated: 2024/05/18 20:50:05 by adjoly ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#ifndef PARSING_H
|
#ifndef PARSING_H
|
||||||
# define PARSING_H
|
# define PARSING_H
|
||||||
|
|
||||||
#include "libft.h"
|
# include "libft.h"
|
||||||
|
|
||||||
|
# define HEREDOC_FD -2
|
||||||
|
|
||||||
typedef struct s_cmd
|
typedef struct s_cmd
|
||||||
{
|
{
|
||||||
char *cmd;
|
char *cmd;
|
||||||
char **argv;
|
char **argv;
|
||||||
|
int infile;
|
||||||
|
int outfile;
|
||||||
} t_cmd;
|
} t_cmd;
|
||||||
|
|
||||||
typedef struct s_parsing
|
|
||||||
{
|
|
||||||
|
|
||||||
} t_parsing;
|
|
||||||
|
|
||||||
t_cmd *split_cmd(char *cmd_av);
|
t_cmd *split_cmd(char *cmd_av);
|
||||||
t_list *split_pipe(char *readline);
|
t_list *split_pipe(char *readline);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user