[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Fwd: Re: (ITS#6194) Patch - Enhancement - provide LDIF support as libldif
- To: OpenLDAP Devel <openldap-devel@openldap.org>
- Subject: Fwd: Re: (ITS#6194) Patch - Enhancement - provide LDIF support as libldif
- From: Howard Chu <hyc@symas.com>
- Date: Thu, 17 Dec 2009 01:24:45 -0800
- User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.9.3a1pre) Gecko/20091121 SeaMonkey/2.0a1pre Firefox/3.0.3
So, what do folks think about reviving libldif as an exported piece of the
distribution?
-------- Original Message --------
Subject: Re: (ITS#6194) Patch - Enhancement - provide LDIF support as libldif
Date: Thu, 17 Dec 2009 03:46:08 GMT
From: hyc@symas.com
To: openldap-its@openldap.org
rmeggins@redhat.com wrote:
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?
Let's move this discussion to the openldap-devel mailing list. I'm thinking
(2) is OK but I'd like to hear from other developers / potential users of this
library.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/