9#ifdef CRINIT_FSERIES_TESTING
10#define TESTABLE __attribute__((weak))
const char * fileSuffix
The extension of the files we want to scan for.
Definition fseries.c:33
bool followLinks
Definition fseries.c:34
void crinitDestroyFileSeries(crinitFileSeries_t *fse)
Definition fseries.c:81
#define TESTABLE
Definition fseries.h:12
TESTABLE int crinitInitFileSeries(crinitFileSeries_t *fse, size_t numElements, const char *baseDir)
Definition fseries.c:96
int crinitResizeFileSeries(crinitFileSeries_t *fse, size_t numElements)
Definition fseries.c:114
int crinitFileSeriesFromStrArr(crinitFileSeries_t *fse, const char *baseDir, char **strArr)
Definition fseries.c:254
int crinitFileSeriesFromDir(crinitFileSeries_t *fse, const char *path, const char *fileSuffix, bool followLinks)
Definition fseries.c:140
char * baseDir
The dirname of the filenames in fnames.
Definition fseries.h:25
char ** fnames
Definition fseries.h:22
size_t size
Number of valid (allocated and non-NULL) pointers in fnames.
Definition fseries.h:24