text-ldap-0.1.1.0: Parser and Printer for LDAP text data stream

Portabilityunknown
Stabilityexperimental
Maintainerex8k.hibino@gmail.com
Safe HaskellSafe-Inferred

Text.LDAP.Data

Contents

Description

 

Synopsis

DN AST

type Attribute = (AttrType, AttrValue)Source

Type of dn attribute

data AttrType Source

Type of dn attribute type

attrOid :: ByteString -> [ByteString] -> AttrTypeSource

Construct OID attribute type

newtype AttrValue Source

Type of dn attribute value

Constructors

AttrValue ByteString 

data Component Source

Type of dn component (rdn)

Constructors

S Attribute 
L (List1 Attribute) 

component :: Attribute -> [Attribute] -> ComponentSource

Construct dn component (rdn)

type DN = List1 ComponentSource

Type of dn

consDN :: Component -> [Component] -> DNSource

Construct dn

unconsDN :: DN -> (Component, [Component])Source

Deconstruct dn

type List1 = NonEmptySource

Not empty list type

Weaken constraint but popular list type

type DN' = [Component']Source

Type of dn, simple list type

toDN' :: DN -> DN'Source

From DN to DN'

type Component' = [Attribute]Source

Type of dn component (rdn), simple list type

Low-level Charset check interfaces

type Bound a = (a, a)Source

Type to express value bound

exact :: a -> Bound aSource

Bound value to express exact value

boundsElems :: Enum a => [(a, a)] -> [a]Source

Element list in value bounds

inBounds :: (Enum a, Ord a) => a -> [(a, a)] -> BoolSource

Test element in value bounds.

elem' :: Ord a => a -> [a] -> BoolSource

Test element using ordered set.

notElem' :: Ord a => a -> [a] -> BoolSource

Test not element using ordered set.

inSBounds :: (Enum a, Ord a) => a -> [(a, a)] -> BoolSource

Test element in value bounds using ordered set.

ordW8 :: Char -> Word8Source

Word8 value of Char

quotation :: Word8Source

Quotation word8 code of dn

specialChars :: [Word8]Source

Secial word8 codes of dn

ldifSafeBounds :: [Bound Char]Source

Char bounds LDIF safe string

ldifSafeInitBounds :: [Bound Char]Source

Char bounds LDIF safe string first char