fish/fish_lib/fish_lib.h

24 lines
371 B
C
Raw Normal View History

2017-05-11 15:16:06 +00:00
//
// Created by Antoine Bartuccio on 11/05/2017.
//
#ifndef FISH_FISH_LIB_H
#define FISH_FISH_LIB_H
typedef struct {
char * word;
size_t size;
} Word;
void fishLoop();
char * fishReadLine();
Word * split(char *string, char *separator);
int countSeparator(char *string, char separator);
void freeWordArray(Word *array, int size);
#endif //FISH_FISH_LIB_H