hlibfam-0.2: FFI interface to libFAM

System.FAM

Description

System.FAM is a low-level binding to the libfam library The libfam documentation is available here: http://oss.sgi.com/projects/fam/.

Documentation

open :: ConnectionPtr -> IO CIntSource

open2 :: ConnectionPtr -> CString -> IO CIntSource

close :: ConnectionPtr -> IO CIntSource

monitorDirectory :: ConnectionPtr -> Ptr CString -> RequestPtr -> VoidPtr -> IO CIntSource

monitorFile :: ConnectionPtr -> Ptr CString -> RequestPtr -> VoidPtr -> IO CIntSource

monitorCollection :: ConnectionPtr -> Ptr CString -> RequestPtr -> VoidPtr -> CInt -> Ptr String -> IO CIntSource

suspendMonitor :: ConnectionPtr -> RequestPtr -> IO CIntSource

resumeMonitor :: ConnectionPtr -> RequestPtr -> IO CIntSource

cancelMonitor :: ConnectionPtr -> RequestPtr -> IO CIntSource

nextEvent :: ConnectionPtr -> EventPtr -> IO CIntSource

pending :: ConnectionPtr -> IO CIntSource

data Connection Source

Constructors

Connection 

Fields

fd :: CInt
 

Instances

data Request Source

Constructors

Request 

Fields

reqnum :: CInt
 

Instances

data Event Source

Constructors

Event 

Fields

connection :: ConnectionPtr
 
request :: Request
 
hostname :: Ptr CString
 
filename :: CString
 
userdata :: VoidPtr
 
code :: FamCodes
 

Instances

changed :: FamCodesSource

deleted :: FamCodesSource

created :: FamCodesSource

moved :: FamCodesSource

acknowledge :: FamCodesSource

exists :: FamCodesSource

endexist :: FamCodesSource