[Date Prev][Date Next]
library questions: LDAPMessage, msgid, ...
- To: openldap-software@OpenLDAP.org
- Subject: library questions: LDAPMessage, msgid, ...
- From: firstname.lastname@example.org (Paul Jarc)
- Date: Wed, 16 Jul 2003 12:27:24 -0400
- Mail-copies-to: nobody
- Organization: What did you have in mind? A short, blunt, human pyramid?
- User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)
First, is this the right list for help with the client library?
I'm working on an extension library for GNU Guile using the OpenLDAP
client library. So C objects such as LDAP*, LDAPMessage*, and msgid
(did I miss any?) will be accessible as Scheme objects. I'm wondering
about lifetime issues. Suppose an LDAP* object is destroyed with
ldap_unbind() while there are still LDAPMessage* and msgid objects
lying around. What happens to them? Am I responsible for destroying
them first? Are they automatically destroyed? Should I destroy them
afterwards? Should I just not touch them?
Also, is there any documentation giving a big-picture view of how a
query, etc., works at the C level? The man pages aren't quite as
illuminating as I'd like.