mirror of
https://gitlab.com/klmp200/fish.git
synced 2024-11-14 12:53:20 +00:00
37 lines
597 B
C
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
|