2021-02-16 17:26:48 +01:00
|
|
|
|
/**
|
2021-02-17 15:05:38 +01:00
|
|
|
|
* Header pour la bibliothèque servant à parser et récupérer l’entrée
|
|
|
|
|
* utilisateur.
|
2021-02-16 17:26:48 +01:00
|
|
|
|
* @file parser.h
|
|
|
|
|
* @author rick <rick@gnous.eu>
|
|
|
|
|
* @date 2021
|
|
|
|
|
* Bibliothèque pour le shell rishtik
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _PARSER_H_
|
|
|
|
|
# define _PARSER_H_
|
|
|
|
|
|
|
|
|
|
#define MAX_LENGTH 200 /* taille maximum des tableaux utilisés */
|
|
|
|
|
|
2021-02-16 18:25:37 +01:00
|
|
|
|
char* get_input();
|
2021-02-17 10:51:41 +01:00
|
|
|
|
void get_command(char *args[], char find);
|
|
|
|
|
void parse_string(char *args,char *commands[], char find);
|
2021-02-16 17:26:48 +01:00
|
|
|
|
|
|
|
|
|
#endif
|