Data Structures |
struct | setting_t |
struct | rglob_t |
struct | fsdev_t |
| Filesystem device structure. More...
|
Defines |
#define | MTAB_PATH "/etc/mtab" |
#define | LOCAL_FILESYSTEMS |
Functions |
int | find_files (SEXP_t *spath, SEXP_t *sfilename, SEXP_t *behaviors, int(*cb)(const char *, const char *, void *), void *arg) |
| Search the filesystem according to the specified path, filename and behaviors.
|
fsdev_t * | fsdev_init (const char **fs, size_t fs_cnt) |
| Initialize the fsdev_t structure from an array of filesystem names.
|
fsdev_t * | fsdev_strinit (const char *fs_names) |
| Initialize the fsdev_t structure from a string containing filesystem names.
|
void | fsdev_free (fsdev_t *lfs) |
| Free the fsdev_t structure.
|
int | fsdev_search (fsdev_t *lfs, void *id) |
| Search an id in the fsdev_t structure.
|
int | fsdev_path (fsdev_t *lfs, const char *path) |
| Check whether a path points points to a place on any of the devices in the fsdev_t structure.
|
int | fsdev_fd (fsdev_t *lfs, int fd) |
| Check whether a file descriptor is associated with a file that resides on any of the devices in the fsdev_t structure.
|
Variables |
SEXP_t * | setting_t::sfilename |
bool | setting_t::filename_is_nil |
char * | setting_t::direction |
char * | setting_t::follow |
fsdev_t * | setting_t::dev_list |
int(* | setting_t::cb )(const char *pathname, const char *filename, void *arg) |
char ** | rglob_t::pathv |
int | rglob_t::offs |
uint16_t | fsdev_t::cnt |
| Number of items in the array.
|