svn commit: samba r16215 - in trunk/source: modules sam

jpeach at samba.org jpeach at samba.org
Wed Jun 14 01:37:24 GMT 2006


Author: jpeach
Date: 2006-06-14 01:37:22 +0000 (Wed, 14 Jun 2006)
New Revision: 16215

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16215

Log:
Rename the module initialisation function so that these modules
can be built statically as well as dynamically.

This change should go to 3_0 after the 3.0.23 release.

Modified:
   trunk/source/modules/charset_macosxfs.c
   trunk/source/modules/vfs_catia.c
   trunk/source/sam/idmap_ad.c
   trunk/source/sam/idmap_rid.c


Changeset:
Modified: trunk/source/modules/charset_macosxfs.c
===================================================================
--- trunk/source/modules/charset_macosxfs.c	2006-06-14 00:57:11 UTC (rev 16214)
+++ trunk/source/modules/charset_macosxfs.c	2006-06-14 01:37:22 UTC (rev 16215)
@@ -594,7 +594,7 @@
 	"MACOSXFS", macosxfs_encoding_pull, macosxfs_encoding_push
 };
 
-NTSTATUS init_module(void)
+NTSTATUS charset_macosxfs_init(void)
 {
 	return smb_register_charset(&macosxfs_encoding_functions);
 }

Modified: trunk/source/modules/vfs_catia.c
===================================================================
--- trunk/source/modules/vfs_catia.c	2006-06-14 00:57:11 UTC (rev 16214)
+++ trunk/source/modules/vfs_catia.c	2006-06-14 01:37:22 UTC (rev 16215)
@@ -308,7 +308,7 @@
 SMB_VFS_LAYER_NOOP}
 };
 
-NTSTATUS init_module(void)
+NTSTATUS vfs_catia_init(void)
 {
         return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "catia", 
 catia_op_tuples);

Modified: trunk/source/sam/idmap_ad.c
===================================================================
--- trunk/source/sam/idmap_ad.c	2006-06-14 00:57:11 UTC (rev 16214)
+++ trunk/source/sam/idmap_ad.c	2006-06-14 01:37:22 UTC (rev 16215)
@@ -378,7 +378,7 @@
 
 
 /* support for new authentication subsystem */
-NTSTATUS init_module(void)
+NTSTATUS idmap_ad_init(void)
 {
 	return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "ad", &ad_methods);
 }

Modified: trunk/source/sam/idmap_rid.c
===================================================================
--- trunk/source/sam/idmap_rid.c	2006-06-14 00:57:11 UTC (rev 16214)
+++ trunk/source/sam/idmap_rid.c	2006-06-14 01:37:22 UTC (rev 16215)
@@ -553,7 +553,7 @@
 	rid_idmap_status
 };
 
-NTSTATUS init_module(void)
+NTSTATUS idmap_rid_init(void)
 {
 	return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "rid", &rid_methods);
 }



More information about the samba-cvs mailing list