2017-05-14 18:54:39 +00:00
|
|
|
//
|
|
|
|
// Created by Antoine Bartuccio on 14/05/2017.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef FISH_FISH_COMMANDS_H
|
|
|
|
#define FISH_FISH_COMMANDS_H
|
|
|
|
|
|
|
|
#include "fish_core.h"
|
|
|
|
|
|
|
|
/* Getters */
|
|
|
|
|
|
|
|
char ** getBuiltinCommandsStr ();
|
|
|
|
builtinCommand **getBuiltinCommands();
|
|
|
|
int getNbBuiltins();
|
|
|
|
|
|
|
|
/* Built in shell commands */
|
|
|
|
|
|
|
|
int fishCd(WordArray * args);
|
|
|
|
|
|
|
|
int fishHelp(WordArray * args);
|
|
|
|
|
|
|
|
int fishExit(WordArray * args);
|
|
|
|
|
2017-05-20 14:25:00 +00:00
|
|
|
int fishKek(WordArray *args);
|
|
|
|
|
2017-06-11 00:10:11 +00:00
|
|
|
int fishClear(WordArray *args);
|
|
|
|
|
|
|
|
void fishSignalHandler(int s);
|
|
|
|
|
2017-05-14 18:54:39 +00:00
|
|
|
#endif //FISH_FISH_COMMANDS_H
|