mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
39 lines
667 B
C
39 lines
667 B
C
|
|
#include <config.h>
|
|
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#ifndef macintosh
|
|
#include <sys/stat.h>
|
|
#endif
|
|
#include <fcntl.h>
|
|
#include <assert.h>
|
|
|
|
#include <sasl.h>
|
|
#include <saslplug.h>
|
|
#include <saslutil.h>
|
|
|
|
#include "plugin_common.h"
|
|
|
|
#ifdef WIN32
|
|
BOOL APIENTRY DllMain( HANDLE hModule,
|
|
DWORD ul_reason_for_call,
|
|
LPVOID lpReserved
|
|
)
|
|
{
|
|
switch (ul_reason_for_call)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
case DLL_THREAD_ATTACH:
|
|
case DLL_THREAD_DETACH:
|
|
case DLL_PROCESS_DETACH:
|
|
break;
|
|
}
|
|
return TRUE;
|
|
}
|
|
#endif
|
|
|
|
SASL_AUXPROP_PLUG_INIT( ldapdb )
|
|
|
|
SASL_CANONUSER_PLUG_INIT( ldapdb )
|