xref: /titanic_41/usr/src/lib/sasl_plugins/digestmd5/digestmd5_init.c (revision 70025d765b044c6d8594bb965a2247a61e991a99)
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_digestmd5_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( digestmd5 )
43 SASL_SERVER_PLUG_INIT( digestmd5 )
44 
45