mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 02:29:28 +02:00
add cyrussasl, iconv, openssl to libs for optional usage (if system does not provide)
This commit is contained in:
parent
26b00acada
commit
b4f310c2be
1507 changed files with 611544 additions and 0 deletions
43
libs/cyrussasl/plugins/passdss_init.c
Normal file
43
libs/cyrussasl/plugins/passdss_init.c
Normal file
|
@ -0,0 +1,43 @@
|
|||
|
||||
#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 macintosh
|
||||
#include <sasl_passdss_plugin_decl.h>
|
||||
#endif
|
||||
|
||||
#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_CLIENT_PLUG_INIT( passdss )
|
||||
SASL_SERVER_PLUG_INIT( passdss )
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue