Safe Haskell | None |
---|---|
Language | Haskell2010 |
C land.
This is an internal module. It is exposed to allow fine-tuning and workarounds but its API is not stable.
Synopsis
- data FuseArgs
- data FuseBuf
- data FuseBufvec
- data FuseCmdlineOpts
- data FuseConfig = FuseConfig {
- setGid :: CInt
- gid :: CUInt
- setUid :: CInt
- uid :: CUInt
- setMode :: CInt
- umask :: CUInt
- entryTimeout :: CDouble
- negativeTimeout :: CDouble
- attrTimeout :: CDouble
- intr :: CInt
- intrSignal :: CInt
- remember :: CInt
- hardRemove :: CInt
- useIno :: CInt
- readdirIno :: CInt
- directIo :: CInt
- kernelCache :: CInt
- autoCache :: CInt
- acAttrTimeoutSet :: CInt
- acAttrTimeout :: CDouble
- nullpathOk :: CInt
- data FuseConnInfo
- data FuseFileInfo
- type FuseFillDir = Ptr FuseFillDirBuf -> CString -> Ptr FileStat -> COff -> FuseFillDirFlags -> IO CInt
- data FuseFillDirBuf
- type FuseFillDirFlags = Word32
- data FuseOperations = FuseOperations {
- fuseGetattr :: FunPtr CGetattr
- fuseReadlink :: FunPtr CReadlink
- fuseMknod :: FunPtr CMknod
- fuseMkdir :: FunPtr CMkdir
- fuseUnlink :: FunPtr CUnlink
- fuseRmdir :: FunPtr CRmdir
- fuseSymlink :: FunPtr CSymlink
- fuseRename :: FunPtr CRename
- fuseLink :: FunPtr CLink
- fuseChmod :: FunPtr CChmod
- fuseChown :: FunPtr CChown
- fuseTruncate :: FunPtr CTruncate
- fuseOpen :: FunPtr COpen
- fuseRead :: FunPtr CRead
- fuseWrite :: FunPtr CWrite
- fuseStatfs :: FunPtr CStatfs
- fuseFlush :: FunPtr CFlush
- fuseRelease :: FunPtr CRelease
- fuseFsync :: FunPtr CFsync
- fuseSetxattr :: FunPtr CSetxattr
- fuseGetxattr :: FunPtr CGetxattr
- fuseListxattr :: FunPtr CListxattr
- fuseRemovexattr :: FunPtr CRemovexattr
- fuseOpendir :: FunPtr COpendir
- fuseReaddir :: FunPtr CReaddir
- fuseReleasedir :: FunPtr CReleasedir
- fuseFsyncdir :: FunPtr CFsyncdir
- fuseInit :: FunPtr CInit
- fuseDestroy :: FunPtr CDestroy
- fuseAccess :: FunPtr CAccess
- fuseCreate :: FunPtr CCreate
- fuseLock :: FunPtr CLock
- fuseUtimens :: FunPtr CUtimens
- fuseBmap :: FunPtr CBmap
- fuseIoctl :: FunPtr CIoctl
- fusePoll :: FunPtr CPoll
- fuseWriteBuf :: FunPtr CWriteBuf
- fuseReadBuf :: FunPtr CReadBuf
- fuseFlock :: FunPtr CFlock
- fuseFallocate :: FunPtr CFallocate
- fuseCopyFileRange :: FunPtr CCopyFileRange
- fuseLseek :: FunPtr CLseek
- defaultFuseOperations :: FuseOperations
- mergeLFuseOperations :: FuseOperations -> FuseOperations -> FuseOperations
- data FusePollhandle
- type FuseReaddirFlags = Word32
- data FuseSession
- data StructFuse
- fuse_cmdline_help :: IO ()
- fuse_destroy :: Ptr StructFuse -> IO ()
- fuse_get_session :: Ptr StructFuse -> IO (Ptr FuseSession)
- fuse_lib_help :: Ptr FuseArgs -> IO ()
- fuse_loop_mt_31 :: Ptr StructFuse -> CInt -> IO Int
- fuse_lowlevel_help :: IO ()
- fuse_lowlevel_version :: IO ()
- fuse_mount :: Ptr StructFuse -> CString -> IO CInt
- fuse_new :: Ptr FuseArgs -> Ptr FuseOperations -> CSize -> Ptr a -> IO (Ptr StructFuse)
- fuse_opt_free_args :: Ptr FuseArgs -> IO ()
- fuse_parse_cmdline :: Ptr FuseArgs -> Ptr FuseCmdlineOpts -> IO CInt
- fuse_pkgversion :: IO CString
- fuse_session_exit :: Ptr FuseSession -> IO ()
- fuse_unmount :: Ptr StructFuse -> IO ()
- type CGetattr = CString -> Ptr FileStat -> Ptr FuseFileInfo -> IO CInt
- mkGetattr :: CGetattr -> IO (FunPtr CGetattr)
- type CReadlink = CString -> CString -> CSize -> IO CInt
- mkReadlink :: CReadlink -> IO (FunPtr CReadlink)
- type CMknod = CString -> CMode -> CDev -> IO CInt
- mkMknod :: CMknod -> IO (FunPtr CMknod)
- type CMkdir = CString -> CMode -> IO CInt
- mkMkdir :: CMkdir -> IO (FunPtr CMkdir)
- type CUnlink = CString -> IO CInt
- mkUnlink :: CUnlink -> IO (FunPtr CUnlink)
- type CRmdir = CString -> IO CInt
- mkRmdir :: CRmdir -> IO (FunPtr CRmdir)
- type CSymlink = CString -> CString -> IO CInt
- mkSymlink :: CSymlink -> IO (FunPtr CSymlink)
- type CRename = CString -> CString -> CUInt -> IO CInt
- mkRename :: CRename -> IO (FunPtr CRename)
- type CLink = CString -> CString -> IO CInt
- mkLink :: CLink -> IO (FunPtr CLink)
- type CChmod = CString -> CMode -> Ptr FuseFileInfo -> IO CInt
- mkChmod :: CChmod -> IO (FunPtr CChmod)
- type CChown = CString -> CUid -> CGid -> Ptr FuseFileInfo -> IO CInt
- mkChown :: CChown -> IO (FunPtr CChown)
- type CTruncate = CString -> COff -> Ptr FuseFileInfo -> IO CInt
- mkTruncate :: CTruncate -> IO (FunPtr CTruncate)
- type COpen = CString -> Ptr FuseFileInfo -> IO CInt
- mkOpen :: COpen -> IO (FunPtr COpen)
- type CRead = CString -> CString -> CSize -> COff -> Ptr FuseFileInfo -> IO CInt
- mkRead :: CRead -> IO (FunPtr CRead)
- type CWrite = CString -> CString -> CSize -> COff -> Ptr FuseFileInfo -> IO CInt
- mkWrite :: CWrite -> IO (FunPtr CWrite)
- type CStatfs = CString -> Ptr FileSystemStats -> IO CInt
- mkStatfs :: CStatfs -> IO (FunPtr CStatfs)
- type CFlush = CString -> Ptr FuseFileInfo -> IO CInt
- mkFlush :: CFlush -> IO (FunPtr CFlush)
- type CRelease = CString -> Ptr FuseFileInfo -> IO CInt
- mkRelease :: CRelease -> IO (FunPtr CRelease)
- type CFsync = CString -> CInt -> Ptr FuseFileInfo -> IO CInt
- mkFsync :: CFsync -> IO (FunPtr CFsync)
- type CSetxattr = CString -> CString -> CString -> CSize -> CInt -> IO CInt
- mkSetxattr :: CSetxattr -> IO (FunPtr CSetxattr)
- type CGetxattr = CString -> CString -> CString -> CSize -> IO CInt
- mkGetxattr :: CGetxattr -> IO (FunPtr CGetxattr)
- type CListxattr = CString -> CString -> CSize -> IO CInt
- mkListxattr :: CListxattr -> IO (FunPtr CListxattr)
- type CRemovexattr = CString -> CString -> IO CInt
- mkRemovexattr :: CRemovexattr -> IO (FunPtr CRemovexattr)
- type COpendir = CString -> Ptr FuseFileInfo -> IO CInt
- mkOpendir :: COpendir -> IO (FunPtr COpendir)
- type CReaddir = CString -> Ptr FuseFillDirBuf -> FunPtr FuseFillDir -> COff -> Ptr FuseFileInfo -> FuseReaddirFlags -> IO CInt
- mkReaddir :: CReaddir -> IO (FunPtr CReaddir)
- type CReleasedir = CString -> Ptr FuseFileInfo -> IO CInt
- mkReleasedir :: CReleasedir -> IO (FunPtr CReleasedir)
- type CFsyncdir = CString -> CInt -> Ptr FuseFileInfo -> IO CInt
- mkFsyncdir :: CFsyncdir -> IO (FunPtr CFsyncdir)
- type CInit = Ptr FuseConnInfo -> Ptr FuseConfig -> IO (Ptr ())
- mkInit :: CInit -> IO (FunPtr CInit)
- type CDestroy = Ptr () -> IO ()
- mkDestroy :: CDestroy -> IO (FunPtr CDestroy)
- type CAccess = CString -> CInt -> IO CInt
- mkAccess :: CAccess -> IO (FunPtr CAccess)
- type CCreate = CString -> CMode -> Ptr FuseFileInfo -> IO CInt
- mkCreate :: CCreate -> IO (FunPtr CCreate)
- type CLock = CString -> Ptr FuseFileInfo -> CInt -> Ptr CFLock
- mkLock :: CLock -> IO (FunPtr CLock)
- type CUtimens = CString -> Ptr TimeSpec -> Ptr FuseFileInfo -> IO CInt
- mkUtimens :: CUtimens -> IO (FunPtr CUtimens)
- type CBmap = CString -> CSize -> Ptr Word64 -> IO CInt
- mkBmap :: CBmap -> IO (FunPtr CBmap)
- type CIoctl = CString -> CUInt -> Ptr () -> Ptr FuseFileInfo -> CUInt -> Ptr () -> IO CInt
- mkIoctl :: CIoctl -> IO (FunPtr CIoctl)
- type CPoll = CString -> Ptr FuseFileInfo -> Ptr FusePollhandle -> Ptr CUInt -> IO CInt
- mkPoll :: CPoll -> IO (FunPtr CPoll)
- type CWriteBuf = CString -> Ptr FuseBufvec -> COff -> Ptr FuseFileInfo -> IO CInt
- mkWriteBuf :: CWriteBuf -> IO (FunPtr CWriteBuf)
- type CReadBuf = CString -> Ptr (Ptr FuseBufvec) -> CSize -> COff -> Ptr FuseFileInfo -> IO CInt
- mkReadBuf :: CReadBuf -> IO (FunPtr CReadBuf)
- type CFlock = CString -> Ptr FuseFileInfo -> CInt -> IO CInt
- mkFlock :: CFlock -> IO (FunPtr CFlock)
- type CFallocate = CString -> CInt -> COff -> COff -> Ptr FuseFileInfo -> IO CInt
- mkFallocate :: CFallocate -> IO (FunPtr CFallocate)
- type CCopyFileRange = CString -> Ptr FuseFileInfo -> COff -> CString -> Ptr FuseFileInfo -> COff -> CSize -> CInt -> IO CSsize
- mkCopyFileRange :: CCopyFileRange -> IO (FunPtr CCopyFileRange)
- type CLseek = CString -> COff -> CInt -> Ptr FuseFileInfo -> IO COff
- mkLseek :: CLseek -> IO (FunPtr CLseek)
Documentation
data FuseBufvec Source #
struct fuse_bufvec
data FuseCmdlineOpts Source #
struct fuse_cmdline_opts
data FuseConfig Source #
The direct, storable representation of struct fuse_config
.
Not to be confused with the high-level FuseConfig
.
FuseConfig | |
|
Instances
Storable FuseConfig Source # | Targets |
Defined in System.LibFuse3.Internal.C sizeOf :: FuseConfig -> Int Source # alignment :: FuseConfig -> Int Source # peekElemOff :: Ptr FuseConfig -> Int -> IO FuseConfig Source # pokeElemOff :: Ptr FuseConfig -> Int -> FuseConfig -> IO () Source # peekByteOff :: Ptr b -> Int -> IO FuseConfig Source # pokeByteOff :: Ptr b -> Int -> FuseConfig -> IO () Source # peek :: Ptr FuseConfig -> IO FuseConfig Source # poke :: Ptr FuseConfig -> FuseConfig -> IO () Source # | |
Show FuseConfig Source # | |
Defined in System.LibFuse3.Internal.C | |
Eq FuseConfig Source # | |
Defined in System.LibFuse3.Internal.C (==) :: FuseConfig -> FuseConfig -> Bool Source # (/=) :: FuseConfig -> FuseConfig -> Bool Source # |
data FuseConnInfo Source #
struct fuse_conn_info
data FuseFileInfo Source #
struct fuse_file_info
type FuseFillDir = Ptr FuseFillDirBuf -> CString -> Ptr FileStat -> COff -> FuseFillDirFlags -> IO CInt Source #
typedef fuse_fill_dir_t
data FuseFillDirBuf Source #
Ptr FuseFillDirBuf = void *
, used in FuseFillDir
.
type FuseFillDirFlags = Word32 Source #
enum fuse_fill_dir_flags
data FuseOperations Source #
The direct, storable representation of struct fuse_operations
.
All operations are optional. NULL indicates undefined operation. You may modify some of the fields to fine-tune the behavior.
Not to be confused with Haskell-friendly FuseOperations
.
Also not to be confused with libfuse's low-level API struct fuse_lowlevel_ops
.
Instances
Storable FuseOperations Source # | |
Defined in System.LibFuse3.Internal.C sizeOf :: FuseOperations -> Int Source # alignment :: FuseOperations -> Int Source # peekElemOff :: Ptr FuseOperations -> Int -> IO FuseOperations Source # pokeElemOff :: Ptr FuseOperations -> Int -> FuseOperations -> IO () Source # peekByteOff :: Ptr b -> Int -> IO FuseOperations Source # pokeByteOff :: Ptr b -> Int -> FuseOperations -> IO () Source # peek :: Ptr FuseOperations -> IO FuseOperations Source # poke :: Ptr FuseOperations -> FuseOperations -> IO () Source # |
defaultFuseOperations :: FuseOperations Source #
An empty set of operations whose fields are nullFunPtr
.
mergeLFuseOperations :: FuseOperations -> FuseOperations -> FuseOperations Source #
Merges two FuseOperations
in a left-biased manner.
data FusePollhandle Source #
struct fuse_pollhandle
type FuseReaddirFlags = Word32 Source #
enum fuse_readdir_flags
data FuseSession Source #
struct fuse_session
data StructFuse Source #
struct fuse
fuse_cmdline_help :: IO () Source #
fuse_destroy :: Ptr StructFuse -> IO () Source #
fuse_get_session :: Ptr StructFuse -> IO (Ptr FuseSession) Source #
fuse_loop_mt_31 :: Ptr StructFuse -> CInt -> IO Int Source #
fuse_lowlevel_help :: IO () Source #
fuse_lowlevel_version :: IO () Source #
fuse_mount :: Ptr StructFuse -> CString -> IO CInt Source #
fuse_parse_cmdline :: Ptr FuseArgs -> Ptr FuseCmdlineOpts -> IO CInt Source #
fuse_session_exit :: Ptr FuseSession -> IO () Source #
fuse_unmount :: Ptr StructFuse -> IO () Source #
mkListxattr :: CListxattr -> IO (FunPtr CListxattr) Source #
mkRemovexattr :: CRemovexattr -> IO (FunPtr CRemovexattr) Source #
type CReaddir = CString -> Ptr FuseFillDirBuf -> FunPtr FuseFillDir -> COff -> Ptr FuseFileInfo -> FuseReaddirFlags -> IO CInt Source #
type CReleasedir = CString -> Ptr FuseFileInfo -> IO CInt Source #
mkReleasedir :: CReleasedir -> IO (FunPtr CReleasedir) Source #
type CInit = Ptr FuseConnInfo -> Ptr FuseConfig -> IO (Ptr ()) Source #
type CReadBuf = CString -> Ptr (Ptr FuseBufvec) -> CSize -> COff -> Ptr FuseFileInfo -> IO CInt Source #
mkFallocate :: CFallocate -> IO (FunPtr CFallocate) Source #
type CCopyFileRange = CString -> Ptr FuseFileInfo -> COff -> CString -> Ptr FuseFileInfo -> COff -> CSize -> CInt -> IO CSsize Source #