r16215: Rename the module initialisation function so that these modules
authorJames Peach <jpeach@samba.org>
Wed, 14 Jun 2006 01:37:22 +0000 (01:37 +0000)
committerJames Peach <jpeach@samba.org>
Wed, 14 Jun 2006 01:37:22 +0000 (01:37 +0000)
can be built statically as well as dynamically.

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

source/modules/charset_macosxfs.c
source/modules/vfs_catia.c
source/sam/idmap_ad.c
source/sam/idmap_rid.c

index 6f50d879ba4bd1d6b3f5d76e87b9a3545549c6fe..a9003c7a826b868b34c9dbc624977e876a18e9c3 100644 (file)
@@ -594,7 +594,7 @@ static struct charset_functions macosxfs_encoding_functions = {
        "MACOSXFS", macosxfs_encoding_pull, macosxfs_encoding_push
 };
 
-NTSTATUS init_module(void)
+NTSTATUS charset_macosxfs_init(void)
 {
        return smb_register_charset(&macosxfs_encoding_functions);
 }
index 5ad0f8d6e4a649c2814cf7ec69305eca8b3d1dfa..45e4c87e8b323ecf9f8ae696e9f1754580c0edc6 100644 (file)
@@ -308,7 +308,7 @@ SMB_VFS_LAYER_TRANSPARENT},
 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);
index 5edfad487d7d43130e31b191fc05ad7e4d880e74..e09178d876a415d161fbe50a0df2399298eb63c7 100644 (file)
@@ -378,7 +378,7 @@ static struct idmap_methods ad_methods = {
 
 
 /* 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);
 }
index 58838512a6824a974b4db029569ba59edeb777f8..59b07ddace9d0e6277daa6cc262352d440343d21 100644 (file)
@@ -553,7 +553,7 @@ static struct idmap_methods rid_methods = {
        rid_idmap_status
 };
 
-NTSTATUS init_module(void)
+NTSTATUS idmap_rid_init(void)
 {
        return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "rid", &rid_methods);
 }