WLDAP32: implement ber_* functions
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 08:39:02 CDT 2005
Hans Leidekker <hans at it.vu.nl> writes:
> +INT WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
> +{
> + INT ret = LBER_ERROR;
> +#ifdef HAVE_LBER_H
> + va_list valist;
> +
> + TRACE( "(%p, %p)\n", berelement, fmt );
> +
> + va_start( valist, fmt );
> + ret = ber_printf( berelement, fmt, valist );
> + va_end( valist );
This won't work I'm afraid, you would need a ber_vprintf. Though it
seems to me you could link directly to the Unix lib from the spec file
and avoid all the wrappers.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list