mirror of
https://gitlab.com/klmp200/fish.git
synced 2024-11-14 12:53:20 +00:00
37 lines
603 B
C
37 lines
603 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"
|
|
|
|
/* WordArray functions */
|
|
|
|
WordArray * split(char *string, char *separator);
|
|
void freeWordArray(WordArray *array);
|
|
|
|
/* Settings functions */
|
|
|
|
Settings * getSettings();
|
|
|
|
|
|
/* General purpose functions */
|
|
|
|
void fishLoop(Settings * settings);
|
|
|
|
char * fishReadLine();
|
|
|
|
int countSeparators(char *string, char *separators);
|
|
|
|
char * fishExpand(char* line);
|
|
|
|
int fishLoad(WordArray *array);
|
|
|
|
int fishExecute(WordArray *array);
|
|
|
|
#endif //FISH_FISH_CORE_H
|