fuse
Data Fields
fuse_module Struct Reference

#include <fuse.h>

Data Fields

const char * name
 
struct fuse_fs *(* factory )(struct fuse_args *args, struct fuse_fs *fs[])
 

Detailed Description

Filesystem module

Filesystem modules are registered with the FUSE_REGISTER_MODULE() macro.

If the "-omodules=modname:..." option is present, filesystem objects are created and pushed onto the stack with the 'factory' function.

Field Documentation

struct fuse_fs*(* fuse_module::factory)(struct fuse_args *args, struct fuse_fs *fs[])

Factory for creating filesystem objects

The function may use and remove options from 'args' that belong to this module.

For now the 'fs' vector always contains exactly one filesystem. This is the filesystem which will be below the newly created filesystem in the stack.

Parameters
argsthe command line arguments
fsNULL terminated filesystem object vector
Returns
the new filesystem object
const char* fuse_module::name

Name of filesystem


The documentation for this struct was generated from the following file: