Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as #GFileAttributeInfos.
- newtype FileAttributeInfoList = FileAttributeInfoList (ForeignPtr FileAttributeInfoList)
- newZeroFileAttributeInfoList :: MonadIO m => m FileAttributeInfoList
- noFileAttributeInfoList :: Maybe FileAttributeInfoList
- data FileAttributeInfoListAddMethodInfo
- fileAttributeInfoListAdd :: MonadIO m => FileAttributeInfoList -> Text -> FileAttributeType -> [FileAttributeInfoFlags] -> m ()
- data FileAttributeInfoListDupMethodInfo
- fileAttributeInfoListDup :: MonadIO m => FileAttributeInfoList -> m FileAttributeInfoList
- data FileAttributeInfoListLookupMethodInfo
- fileAttributeInfoListLookup :: MonadIO m => FileAttributeInfoList -> Text -> m FileAttributeInfo
- fileAttributeInfoListNew :: MonadIO m => m FileAttributeInfoList
- data FileAttributeInfoListRefMethodInfo
- fileAttributeInfoListRef :: MonadIO m => FileAttributeInfoList -> m FileAttributeInfoList
- data FileAttributeInfoListUnrefMethodInfo
- fileAttributeInfoListUnref :: MonadIO m => FileAttributeInfoList -> m ()
- fileAttributeInfoListClearInfos :: MonadIO m => FileAttributeInfoList -> m ()
- fileAttributeInfoListInfos :: AttrLabelProxy "infos"
- fileAttributeInfoListReadInfos :: MonadIO m => FileAttributeInfoList -> m (Maybe FileAttributeInfo)
- fileAttributeInfoListWriteInfos :: MonadIO m => FileAttributeInfoList -> Ptr FileAttributeInfo -> m ()
- fileAttributeInfoListNInfos :: AttrLabelProxy "nInfos"
- fileAttributeInfoListReadNInfos :: MonadIO m => FileAttributeInfoList -> m Int32
- fileAttributeInfoListWriteNInfos :: MonadIO m => FileAttributeInfoList -> Int32 -> m ()
Exported types
newtype FileAttributeInfoList Source
newZeroFileAttributeInfoList :: MonadIO m => m FileAttributeInfoList Source
Construct a FileAttributeInfoList
struct initialized to zero.
Methods
fileAttributeInfoListAdd
data FileAttributeInfoListAddMethodInfo Source
((~) * signature (Text -> FileAttributeType -> [FileAttributeInfoFlags] -> m ()), MonadIO m) => MethodInfo * FileAttributeInfoListAddMethodInfo FileAttributeInfoList signature |
fileAttributeInfoListAdd :: MonadIO m => FileAttributeInfoList -> Text -> FileAttributeType -> [FileAttributeInfoFlags] -> m () Source
fileAttributeInfoListDup
data FileAttributeInfoListDupMethodInfo Source
((~) * signature (m FileAttributeInfoList), MonadIO m) => MethodInfo * FileAttributeInfoListDupMethodInfo FileAttributeInfoList signature |
fileAttributeInfoListLookup
data FileAttributeInfoListLookupMethodInfo Source
((~) * signature (Text -> m FileAttributeInfo), MonadIO m) => MethodInfo * FileAttributeInfoListLookupMethodInfo FileAttributeInfoList signature |
fileAttributeInfoListLookup :: MonadIO m => FileAttributeInfoList -> Text -> m FileAttributeInfo Source
fileAttributeInfoListNew
fileAttributeInfoListRef
data FileAttributeInfoListRefMethodInfo Source
((~) * signature (m FileAttributeInfoList), MonadIO m) => MethodInfo * FileAttributeInfoListRefMethodInfo FileAttributeInfoList signature |
fileAttributeInfoListUnref
data FileAttributeInfoListUnrefMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * FileAttributeInfoListUnrefMethodInfo FileAttributeInfoList signature |
fileAttributeInfoListUnref :: MonadIO m => FileAttributeInfoList -> m () Source
Properties
Infos
fileAttributeInfoListClearInfos :: MonadIO m => FileAttributeInfoList -> m () Source
fileAttributeInfoListInfos :: AttrLabelProxy "infos" Source
fileAttributeInfoListReadInfos :: MonadIO m => FileAttributeInfoList -> m (Maybe FileAttributeInfo) Source
fileAttributeInfoListWriteInfos :: MonadIO m => FileAttributeInfoList -> Ptr FileAttributeInfo -> m () Source
NInfos
fileAttributeInfoListNInfos :: AttrLabelProxy "nInfos" Source
fileAttributeInfoListWriteNInfos :: MonadIO m => FileAttributeInfoList -> Int32 -> m () Source