Codebase list cyrus-sasl2 / run/521d1c05-c8f9-47f8-a128-6d603928634d/main plugins / scram_init.c
run/521d1c05-c8f9-47f8-a128-6d603928634d/main

Tree @run/521d1c05-c8f9-47f8-a128-6d603928634d/main (Download .tar.gz)

scram_init.c @run/521d1c05-c8f9-47f8-a128-6d603928634d/mainraw · history · blame

#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_scram_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( scram )
SASL_SERVER_PLUG_INIT( scram )