| Portability | unknown |
|---|---|
| Stability | experimental |
| Maintainer | ex8k.hibino@gmail.com |
| Safe Haskell | None |
Text.LDAP.Printer
Description
- type LdapPrinter a = a -> LdapPutM ()
- runLdapPrinter :: LdapPrinter a -> a -> ByteString
- type LdapPutM = Writer (DList ByteString)
- dn :: LdapPrinter DN
- component :: LdapPrinter Component
- attribute :: LdapPrinter Attribute
- ldifDN :: LdapPrinter DN
- ldifAttr :: LdapPrinter v -> LdapPrinter (AttrType, v)
- ldifAttrValue :: LdapPrinter LdifAttrValue
- ldifEncodeAttrValue :: LdapPrinter AttrValue
- openLdapEntry :: LdapPrinter v -> LdapPrinter (DN, [(AttrType, v)])
- openLdapData :: LdapPrinter v -> LdapPrinter [(DN, [(AttrType, v)])]
Documentation
type LdapPrinter a = a -> LdapPutM ()Source
LdapPrinter a print type a into context
runLdapPrinter :: LdapPrinter a -> a -> ByteStringSource
Run LdapPrinter
type LdapPutM = Writer (DList ByteString)Source
Printer context type for LDAP data stream
Printer of DN string.
component :: LdapPrinter ComponentSource
Printer of RDN string.
attribute :: LdapPrinter AttributeSource
Printer of attribute pair string in RDN.
ldifDN :: LdapPrinter DNSource
Printer of LDIF DN line.
ldifAttr :: LdapPrinter v -> LdapPrinter (AttrType, v)Source
Printer of LDIF attribute pair line.
Use with ldifAttrValue or ldifEncodeAttrValue printer, like ldifAttr ldifEncodeAttrValue.
ldifAttrValue :: LdapPrinter LdifAttrValueSource
Printer of LDIF attribute value already encoded.
Available printer combinator to pass ldifAttr or openLdapEntry, etc ...
ldifEncodeAttrValue :: LdapPrinter AttrValueSource
Printer of LDIF attribute value with encode not safe string.
Available printer combinator to pass ldifAttr or openLdapEntry, etc ...
openLdapEntry :: LdapPrinter v -> LdapPrinter (DN, [(AttrType, v)])Source
OpenLDAP data-stream block printer.
Use with ldifAttrValue or ldifEncodeAttrValue printer, like openLdapEntry ldifEncodeAttrValue.
openLdapData :: LdapPrinter v -> LdapPrinter [(DN, [(AttrType, v)])]Source
OpenLDAP data-stream block list printer.
Use with ldifAttrValue or ldifEncodeAttrValue printer, like openLdapData ldifEncodeAttrValue.