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

Copyright2014 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell98

Text.LDAP.Printer

Description

 

Synopsis

Documentation

type LdapPrinter a = a -> LdapPutM () #

LdapPrinter a print type a into context

type LdapPutM = Writer (DList ByteString) #

Printer context type for LDAP data stream

dn :: LdapPrinter DN #

Printer of DN string.

component :: LdapPrinter Component #

Printer of RDN string.

attribute :: LdapPrinter Attribute #

Printer of attribute pair string in RDN.

ldifDN :: LdapPrinter DN #

Printer of LDIF DN line.

ldifAttr :: LdapPrinter v -> LdapPrinter (AttrType, v) #

Printer of LDIF attribute pair line. Use with ldifAttrValue or ldifEncodeAttrValue printer, like ldifAttr ldifEncodeAttrValue.

ldifAttrValue :: LdapPrinter LdifAttrValue #

Printer of LDIF attribute value already encoded. Available printer combinator to pass ldifAttr or openLdapEntry, etc ...

ldifEncodeAttrValue :: LdapPrinter AttrValue #

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)]) #

OpenLDAP data-stream block printer. Use with ldifAttrValue or ldifEncodeAttrValue printer, like openLdapEntry ldifEncodeAttrValue.

openLdapData :: LdapPrinter v -> LdapPrinter [(DN, [(AttrType, v)])] #

OpenLDAP data-stream block list printer. Use with ldifAttrValue or ldifEncodeAttrValue printer, like openLdapData ldifEncodeAttrValue.