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

26 lines
588 B
C

#ifndef FISH_FISH_GLOBBING_H
#define FISH_FISH_GLOBBING_H
typedef struct dirent dirent;
WordList* fishExpand(WordList* wordArray);
WordList* getFiles(char* path, char* wildcardedString);
WordList* expandWord(char* word);
void recursiveExpandWord(char* path, WordList* listToExpand);
int wildcardedStringMatches(char* string1, char* string2);
WordList* splitWordIntoList(char* string, char splitchar);
char* getFileName(char* string);
char* getPath(char* string);
char* concatWordListToWord(WordList* list, int firstElemIndex, int lastElemIndex);
#endif //FISH_FISH_GLOBBING_H