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

Re: LDAP C API: LDAP_OPT_DESC



At 11:44 PM 6/18/99 +0200, Hallvard B Furuseth wrote:
>Kurt D. Zeilenga writes:
>> It might be wise to be generalize or remove LDAP_OPT_DESC.  (I should
>> note that some APIs have already introduced a generic "socket" type).

If the generalization is not useful, then I suggest LDAP_OPT_DESC
be removed from the specification.

>> To generalize LDAP_OPT_DESC, I would suggest adding:
>> 	typedef impl_socket_t ber_socket_t;
>> 
>>    Implementations MUST replace impl_socket_t with an appropriate
>>    type.  Implementations returning I/O descriptors SHOULD replace
>>    impl_socket_t with a suitable type for I/O descriptors.
>
>You'll have to say something about what the program can _do_ with these
>"non-UNIX" descriptors.

 	Use of the returned ber_socket_t is implementation specific.
	It may not be an operating system I/O handle.