summaryrefslogtreecommitdiff
path: root/lib/util/samba_module.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-25 10:30:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-28 13:10:28 +0200
commitb256799eaf829fcb7d6e1d88de4478f77df8ff73 (patch)
treeb0366498e602f56a999f08244deb41081e453b5a /lib/util/samba_module.h
parent0ce09fcf7ae971a2dc4131fd137c925f0b9a57a4 (diff)
downloadsamba-b256799eaf829fcb7d6e1d88de4478f77df8ff73.tar.gz
samba-b256799eaf829fcb7d6e1d88de4478f77df8ff73.tar.bz2
samba-b256799eaf829fcb7d6e1d88de4478f77df8ff73.zip
lib/util Rename samba_init_module -> samba_module_init
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
Diffstat (limited to 'lib/util/samba_module.h')
-rw-r--r--lib/util/samba_module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/samba_module.h b/lib/util/samba_module.h
index 0bdf35fa10..6d32fce48e 100644
--- a/lib/util/samba_module.h
+++ b/lib/util/samba_module.h
@@ -24,13 +24,13 @@
/* Module support */
typedef NTSTATUS (*samba_module_init_fn) (void);
-NTSTATUS samba_init_module(void);
+NTSTATUS samba_module_init(void);
/* this needs to be a string which is not in the C library. We
previously used "init_module", but that meant that modules which
did not define this function ended up calling the C library
function init_module() which makes a system call */
-#define SAMBA_INIT_MODULE "samba_init_module"
+#define SAMBA_MODULE_INIT "samba_module_init"
/**
* Run the specified init functions.