1
0
mirror of https://gitlab.com/klmp200/fish.git synced 2024-11-14 12:53:20 +00:00
fish/fish_shell/fish_globbing.h

26 lines
588 B
C
Raw Normal View History

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
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);
char* getFileName(char* string);
char* getPath(char* string);
char* concatWordListToWord(WordList* list, int firstElemIndex, int lastElemIndex);
2017-05-15 12:32:41 +00:00
#endif //FISH_FISH_GLOBBING_H