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

Re: LDAP* which calls private functions for I/O?



Hallvard B Furuseth wrote:
Howard Chu writes:
Anybody can write a sockbuf driver, without needing any private
APIs. See my attachment to this bug
https://bugzilla.mozilla.org/show_bug.cgi?id=292127 for an example.

Thanks. Where do I get the LDAP* from though? I have no hostname or file descriptor to associate with it.

Use ldap_init_fd() with a fake fd, and proto LDAP_PROTO_EXT.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/