mysh.h 504 B

123456789101112131415161718192021222324252627
  1. /*
  2. * File: mysh.h
  3. * Author: Arthur Brandao
  4. *
  5. * Created on 6 novembre 2018
  6. */
  7. #ifndef MYSH_H
  8. #define MYSH_H
  9. /* --- Fonctions --- */
  10. /**
  11. * Affiche le dossier de travail actuel
  12. * @param char* Chaine à afficher avant le dossier
  13. * @param char* Chaine à afficher après le dossier
  14. */
  15. void show_current_dir(const char*, const char*);
  16. /**
  17. * Execute l'ensemble des commandes d'une ligne
  18. * @param CommandTab La ligne de commande parser
  19. * @return
  20. */
  21. int run(CommandTab);
  22. #endif /* MYSH_H */