1
0
mirror of https://gitlab.com/klmp200/fish.git synced 2024-11-14 12:53:20 +00:00
fish/fish_shell/fish_core.h
2017-05-15 15:04:14 +02:00

37 lines
597 B
C

//
// Created by Antoine Bartuccio on 11/05/2017.
//
#ifndef FISH_FISH_CORE_H
#define FISH_FISH_CORE_H
#include "fish_types.h"
#include "fish_commands.h"
#include "fish_utils.h"
/* WordArray functions */
WordArray * split(char *string, char *separator);
/* Settings functions */
Settings * getSettings();
void freeSettings(Settings *settings);
/* General purpose functions */
void fishLoop(Settings * settings);
char * fishReadLine();
int countSeparators(char *string, char *separators);
int fishLoad(WordArray *array);
int fishExecute(WordArray *array);
#endif //FISH_FISH_CORE_H