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