1
0
mirror of https://gitlab.com/klmp200/fish.git synced 2024-11-14 21:03:21 +00:00
fish/fish_shell/fish_commands.h
2017-06-19 13:45:06 +02:00

42 lines
864 B
C

//
// Created by Antoine Bartuccio on 14/05/2017.
//
#ifndef FISH_FISH_COMMANDS_H
#define FISH_FISH_COMMANDS_H
#include "fish_core.h"
/* Getters */
/* Getter for global variable in external files */
char ** getBuiltinCommandsStr ();
/* Getter for global variable in external files */
builtinCommand **getBuiltinCommands();
/* Get size of the two global variable array */
int getNbBuiltins();
/* Built in shell commands */
/* Change Dir internal command */
int fishCd(WordArray * args);
/* Help internal command */
int fishHelp(WordArray * args);
/* Exit internal command */
int fishExit(WordArray * args);
/* Kek internal command */
int fishKek(WordArray *args);
/* Clear the terninal (internal command) */
int fishClear(WordArray *args);
/* Handle signal from the user (such as ctrl+c */
void fishSignalHandler(int s);
#endif //FISH_FISH_COMMANDS_H