Beginnings of WLDAP32.

This commit is contained in:
Hans Leidekker 2005-07-13 11:56:15 +00:00 committed by Alexandre Julliard
parent e51ffce568
commit 8d63dfb73e
8 changed files with 81 additions and 2 deletions

View File

@ -172,6 +172,7 @@ DLLs (under dlls/):
winspool/ - Printing & Print Spooler
wintab32/ - Tablet device interface
wintrust/ - Trust verification interface
wldap32/ - LDAP support
wow32/ - WOW subsystem
wsock32/ - Sockets 1.1 (networking)
wtsapi32/ - Terminal Services

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1719,6 +1719,7 @@ dlls/winspool/Makefile
dlls/winspool/tests/Makefile
dlls/wintab32/Makefile
dlls/wintrust/Makefile
dlls/wldap32/Makefile
dlls/wow32/Makefile
dlls/wsock32/Makefile
dlls/wtsapi32/Makefile

View File

@ -168,6 +168,7 @@ BASEDIRS = \
winspool \
wintab32 \
wintrust \
wldap32 \
wow32 \
wsock32 \
wtsapi32
@ -406,6 +407,7 @@ SYMLINKS_SO = \
winspool.drv.so \
wintab32.dll.so \
wintrust.dll.so \
wldap32.dll.so \
wnaspi32.dll.so \
wow32.dll.so \
ws2_32.dll.so \
@ -985,6 +987,9 @@ wintab.dll.so : wintab32.dll.so
wintrust.dll.so: wintrust/wintrust.dll.so
$(RM) $@ && $(LN_S) wintrust/wintrust.dll.so $@
wldap32.dll.so: wldap32/wldap32.dll.so
$(RM) $@ && $(LN_S) wldap32/wldap32.dll.so $@
wnaspi32.dll.so: winaspi/wnaspi32.dll.so
$(RM) $@ && $(LN_S) winaspi/wnaspi32.dll.so $@
@ -1179,6 +1184,7 @@ IMPORT_LIBS = \
winspool/libwinspool.$(IMPLIBEXT) \
wintab32/libwintab32.$(IMPLIBEXT) \
wintrust/libwintrust.$(IMPLIBEXT) \
wldap32/libwldap32.$(IMPLIBEXT) \
winaspi/libwnaspi32.$(IMPLIBEXT) \
wow32/libwow32.$(IMPLIBEXT) \
winsock/libws2_32.$(IMPLIBEXT) \
@ -1568,6 +1574,9 @@ wintab32/libwintab32.$(IMPLIBEXT): wintab32/wintab32.spec $(WINEBUILD)
wintrust/libwintrust.$(IMPLIBEXT): wintrust/wintrust.spec $(WINEBUILD)
@cd wintrust && $(MAKE) libwintrust.$(IMPLIBEXT)
wldap32/libwldap32.$(IMPLIBEXT): wldap32/wldap32.spec $(WINEBUILD)
@cd wldap32 && $(MAKE) libwldap32.$(IMPLIBEXT)
winaspi/libwnaspi32.$(IMPLIBEXT): winaspi/wnaspi32.spec $(WINEBUILD)
@cd winaspi && $(MAKE) libwnaspi32.$(IMPLIBEXT)
@ -1798,6 +1807,7 @@ winnls/winnls32.dll.so: winnls
winspool/winspool.drv.so: winspool
wintab32/wintab32.dll.so: wintab32
wintrust/wintrust.dll.so: wintrust
wldap32/wldap32.dll.so: wldap32
winaspi/wnaspi32.dll.so: winaspi
wow32/wow32.dll.so: wow32
winsock/ws2_32.dll.so: winsock
@ -1838,7 +1848,7 @@ uninstall::
-rmdir $(dlldir)
clean::
$(RM) $(IMPORT_SYMLINKS) *.$(IMPLIBEXT)
$(RM) $(IMPORT_SYMLINKS)
check test:: $(BUILDSUBDIRS:%=%/__test__)

3
dlls/wldap32/.cvsignore Normal file
View File

@ -0,0 +1,3 @@
Makefile
libwldap32.def
wldap32.dll.dbg.c

14
dlls/wldap32/Makefile.in Normal file
View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = wldap32.dll
IMPORTLIB = libwldap32.$(IMPLIBEXT)
IMPORTS = kernel32
C_SRCS = \
main.c
@MAKE_DLL_RULES@
### Dependencies:

44
dlls/wldap32/main.c Normal file
View File

@ -0,0 +1,44 @@
/*
* WLDAP32 - LDAP support for Wine
*
* Copyright 2005 Hans Leidekker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/debug.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
TRACE( "(%p, 0x%08lx, %p)\n", hinst, reason, reserved );
switch (reason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

View File

@ -0,0 +1,5 @@
@ stub LdapGetLastError
@ stub LdapMapErrorToWin32
@ stub ldap_open
@ stub ldap_openA
@ stub ldap_openW