rishtik/src/shell_tools/parser.h

21 lines
467 B
C
Raw Normal View History

2021-02-16 16:26:48 +00:00
/**
2021-02-17 14:05:38 +00:00
* Header pour la bibliothèque servant à parser et récupérer lentrée
* utilisateur.
2021-02-16 16:26:48 +00: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-17 09:51:41 +00:00
#define SHELL rishtik
2021-02-16 16:26:48 +00:00
char* get_input();
2021-02-17 09:51:41 +00:00
void get_command(char *args[], char find);
void parse_string(char *args,char *commands[], char find);
2021-02-16 16:26:48 +00:00
#endif