adding parser.h and starting parse_input

This commit is contained in:
Clément Le Bihan
2020-05-20 01:41:46 +02:00
parent 5c49a0947b
commit 66309a9a26
5 changed files with 43 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
/*
** EPITECH PROJECT, 2020
** PSU_minishell2_2019
** File description:
** redirections
*/
#pragma once
#include "shell.h"
typedef struct parser_map {
char *key;
int (*parser)(char *, char **);
} parser_map;
int parse_quotes(char *ptr, char **data);