xref: /illumos-gate/usr/src/lib/sasl_plugins/gssapi/gssapiv2_init.c (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
1 #include <config.h>
2 
3 #include <string.h>
4 #include <stdlib.h>
5 #include <stdio.h>
6 #ifndef macintosh
7 #include <sys/stat.h>
8 #endif
9 #include <fcntl.h>
10 #include <assert.h>
11 
12 #include <sasl.h>
13 #include <saslplug.h>
14 #include <saslutil.h>
15 
16 #include "plugin_common.h"
17 
18 #ifdef macintosh
19 #include <sasl_gssapiv2_plugin_decl.h>
20 #endif
21 
22 #ifdef WIN32
23 BOOL APIENTRY DllMain( HANDLE hModule,
24                        DWORD  ul_reason_for_call,
25                        LPVOID lpReserved
26 					 )
27 {
28     switch (ul_reason_for_call)
29 	{
30 		case DLL_PROCESS_ATTACH:
31 		case DLL_THREAD_ATTACH:
32 		case DLL_THREAD_DETACH:
33 		case DLL_PROCESS_DETACH:
34 			break;
35     }
36     return TRUE;
37 }
38 #endif
39 
40 SASL_CLIENT_PLUG_INIT( gssapiv2 )
41 SASL_SERVER_PLUG_INIT( gssapiv2 )
42 
43