xenstore-0.1.1: Xenstore client access

Safe HaskellNone

System.Xen.Store

Synopsis

Documentation

data XsPerms Source

Constructors

XsPerms 

Fields

permOwner :: Word32
 
permOther :: Perm
 
permACL :: [(Word32, Perm)]
 

Instances

withXS :: (XsHandle -> IO a) -> IO aSource

tryXS :: IO a -> IO (Maybe a)Source

xsWrite :: XsHandle -> XsPath -> XsData -> IO ()Source

write a value to a path in the store.

xsRead :: XsHandle -> XsPath -> IO XsDataSource

read a value from the path in the store.

xsMkdir :: XsHandle -> XsPath -> IO ()Source

create a path in the store.

xsRm :: XsHandle -> XsPath -> IO ()Source

remove a path in the store.

xsDirectory :: XsHandle -> XsPath -> IO [XsPath]Source

list entries from this path in the store.

xsWatch :: XsHandle -> XsPath -> XsData -> XsWatchCallback -> IO ()Source

watch a specific path for change, and execute a specific callback when it's firing

xsUnwatch :: XsHandle -> XsPath -> XsData -> IO ()Source

unwatch a watch