[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6194) Patch - Enhancement - provide LDIF support as libldif

I think this could be accomplished in one of two ways:
1) Just have libldif return lists of struct berval* for the various data 
parsed.  The caller would be responsible for turning these into LDAPMod 
or LDAPControl structures - the advantage is that libldif doesn't have 
to know about any of these higher level structures
2) Have libldif create LDAPMod and LDAPControl - I think this could be 
accomplished by having ldif.c #include <ldap.h> to pull in the 
definitions of LDAPMod and LDAPControl - would this be ok?