fuse_module Struct Reference

#include <fuse.h>


Data Fields

const char * name
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

const char* fuse_module::name

Name of filesystem

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:
args the command line arguments
fs NULL terminated filesystem object vector
Returns:
the new filesystem object


The documentation for this struct was generated from the following file:
Generated on Tue Oct 9 13:59:40 2007 for fuse by  doxygen 1.5.0