| Safe Haskell | Safe-Inferred | 
|---|
Text.LDIF.Utils
Description
LDIF related operations
- type LDIFCache = Map DN LDIFRecord
 - createLookupTable :: LDIF -> LDIFCache
 - findRecordsByDN :: LDIF -> DN -> [LDIFRecord]
 - findRecordByDN :: LDIFCache -> DN -> Maybe LDIFRecord
 - lookupAttr :: ByteString -> [AttrValue] -> Maybe Value
 - filterAttr :: ByteString -> [AttrValue] -> [AttrValue]
 - isDummyRecord :: LDIFRecord -> Bool
 - leafOfDN :: DN -> AttrValue
 - rootOfDN :: DN -> AttrValue
 - lengthOfDN :: DN -> Int
 - getDNValue :: DN -> Int -> AttrValue
 - takeDNPrefix :: DN -> Int -> DN
 - isDNPrefixOf :: DN -> DN -> Bool
 - isParentRecordOf :: LDIFRecord -> LDIFRecord -> Bool
 - ldif2ldifI :: LDIF -> LDIF
 
Documentation
type LDIFCache = Map DN LDIFRecordSource
findRecordsByDN :: LDIF -> DN -> [LDIFRecord]Source
Find all Contents with given DN
findRecordByDN :: LDIFCache -> DN -> Maybe LDIFRecordSource
Find first Content with given DN
lookupAttr :: ByteString -> [AttrValue] -> Maybe ValueSource
Find fist Attribute within attributes pairs list
filterAttr :: ByteString -> [AttrValue] -> [AttrValue]Source
Filter Attribute Value list according Attribute name
isDummyRecord :: LDIFRecord -> BoolSource
Change record without any impact
lengthOfDN :: DN -> IntSource
getDNValue :: DN -> Int -> AttrValueSource
takeDNPrefix :: DN -> Int -> DNSource
isDNPrefixOf :: DN -> DN -> BoolSource
Check if the dn1 is prefix of dn2
isParentRecordOf :: LDIFRecord -> LDIFRecord -> BoolSource
ldif2ldifI :: LDIF -> LDIFSource
Make LDIF Values case-insensitive