2017-05-15 12:32:41 +00:00
|
|
|
#ifndef FISH_FISH_GLOBBING_H
|
|
|
|
#define FISH_FISH_GLOBBING_H
|
|
|
|
|
|
|
|
typedef struct dirent dirent;
|
|
|
|
|
|
|
|
|
2017-05-28 20:02:05 +00:00
|
|
|
WordList* fishExpand(WordList* wordArray);
|
2017-05-15 12:32:41 +00:00
|
|
|
|
2017-05-28 20:02:05 +00:00
|
|
|
WordList* getFiles(char* path, char* wildcardedString);
|
2017-05-15 12:32:41 +00:00
|
|
|
|
2017-05-27 15:36:55 +00:00
|
|
|
WordList* expandWord(char* word);
|
2017-05-16 05:32:19 +00:00
|
|
|
|
2017-05-30 09:31:00 +00:00
|
|
|
void recursiveExpandWord(char* path, WordList* listToExpand);
|
|
|
|
|
2017-05-28 20:02:05 +00:00
|
|
|
int wildcardedStringMatches(char* string1, char* string2);
|
|
|
|
|
2017-05-29 13:19:52 +00:00
|
|
|
WordList* splitWordIntoList(char* string, char splitchar);
|
|
|
|
|
2017-05-29 15:25:31 +00:00
|
|
|
char* getFileName(char* string);
|
|
|
|
|
|
|
|
char* getPath(char* string);
|
|
|
|
|
2017-05-30 09:31:00 +00:00
|
|
|
char* concatWordListToWord(WordList* list, int firstElemIndex, int lastElemIndex);
|
|
|
|
|
2017-05-15 12:32:41 +00:00
|
|
|
#endif //FISH_FISH_GLOBBING_H
|