Copyright 2008, 2012 Neil Edelman, distributed under the terms of the GNU General Public License, see copying.txt, or https://opensource.org/licenses/GPL-3.0.
Files is a list of File (private class defiend below,) the Files can have a relation to other Files by 'parent' and 'favourite' (@(pwd) uses this.)
typedef int (*FilesFilter)(const struct Files *, const char *)
Returns a boolean value.
Return Type | Function Name | Argument List |
---|---|---|
struct Files * | Files | const struct Files *parent, const FilesFilter filter |
void | Files_ | struct Files *files |
int | FilesAdvance | struct Files *f |
int | FilesIsRoot | const struct Files *f |
void | FilesSetPath | struct Files *f |
char * | FilesEnumPath | struct Files *f |
char * | FilesName | const struct Files *files |
int | FilesSize | const struct Files *files |
int | FilesIsDir | const struct Files *files |