21 lines
467 B
C
21 lines
467 B
C
/**
|
||
* Header pour la bibliothèque servant à parser et récupérer l’entrée
|
||
* utilisateur.
|
||
* @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 */
|
||
#define SHELL rishtik
|
||
|
||
char* get_input();
|
||
void get_command(char *args[], char find);
|
||
void parse_string(char *args,char *commands[], char find);
|
||
|
||
#endif
|