Text.LDIF.Types
Description
LDIF related types
- data LDIF
- = LDIFContent {
- lcVersion :: Maybe String
- lcEntries :: [ContentRecord]
- | LDIFChanges {
- lcVersion :: Maybe String
- lcChanges :: [ChangeRecord]
- = LDIFContent {
- data ContentRecord = ContentRecord {
- coDN :: DN
- coAttrVals :: [AttrValue]
- data ChangeRecord = ChangeRecord {}
- data Change
- = ChangeAdd {
- chAttrVals :: [AttrValue]
- | ChangeDelete
- | ChangeModify { }
- | ChangeModDN
- = ChangeAdd {
- data Modify
- = ModAdd {
- modAttr :: Attribute
- modAttrVals :: [Value]
- | ModDelete {
- modAttr :: Attribute
- modAttrVals :: [Value]
- | ModReplace {
- modAttr :: Attribute
- modAttrVals :: [Value]
- = ModAdd {
- data DN = DN {
- dnAttrVals :: [AttrValue]
- data LDIFType
- type Attribute = String
- type Value = String
- type AttrValue = (Attribute, Value)
Documentation
Represents LDIF structure, it can be either simply LDIF data dump or | changes LDIF with LDAP operations
Constructors
LDIFContent | |
Fields
| |
LDIFChanges | |
Fields
|
data ContentRecord Source
Represents one data record within LDIF file with DN and content
Constructors
ContentRecord | |
Fields
|
Instances
data ChangeRecord Source
Represents one change record within LDIF file with DN and content
Constructors
ChangeRecord | |
Instances
Represents one LDAP operation within changes LDIF
Constructors
ChangeAdd | |
Fields
| |
ChangeDelete | |
ChangeModify | |
ChangeModDN |
Represents ChangeModify operations upon one entry within given DN
Constructors
ModAdd | |
Fields
| |
ModDelete | |
Fields
| |
ModReplace | |
Fields
|
Represents Distinguished Name (DN)
Constructors
DN | |
Fields
|
Type of LDIF Files (Content, Changes)
Constructors
LDIFContentType | |
LDIFChangesType |