summaryrefslogtreecommitdiff
path: root/docs/docbook/devdoc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-19 20:19:47 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-19 20:19:47 +0000
commit7178e11a49177bc35a6637dae0156748ff01d799 (patch)
tree9048632666cdd2e516f786aa9885e5279ecf5a7b /docs/docbook/devdoc
parente14e43f3d3edda15872e0725cbefeadfa7aa8180 (diff)
downloadsamba-7178e11a49177bc35a6637dae0156748ff01d799.tar.gz
samba-7178e11a49177bc35a6637dae0156748ff01d799.tar.bz2
samba-7178e11a49177bc35a6637dae0156748ff01d799.zip
It's init_module(), not module_init() as metze pointed out. I really thought I check this well enough :-/
(This used to be commit 730e2a093152c406923bd9e28339781564b0afac)
Diffstat (limited to 'docs/docbook/devdoc')
-rw-r--r--docs/docbook/devdoc/modules.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docbook/devdoc/modules.sgml b/docs/docbook/devdoc/modules.sgml
index de43813410..99cba605bd 100644
--- a/docs/docbook/devdoc/modules.sgml
+++ b/docs/docbook/devdoc/modules.sgml
@@ -97,12 +97,12 @@ should check again if the module has been registered.
<para>
Each module has an initialisation function. For modules that are
-included with samba this name is '<replaceable>subsystem</replaceable>_<replaceable>backend</replaceable>_init'. For external modules (that will never be built-in, but only available as a module) this name is always 'module_init'. (In the case of modules included with samba, the configure system will add a #define subsystem_backend_init() module_init()).
+included with samba this name is '<replaceable>subsystem</replaceable>_<replaceable>backend</replaceable>_init'. For external modules (that will never be built-in, but only available as a module) this name is always 'init_module'. (In the case of modules included with samba, the configure system will add a #define subsystem_backend_init() init_module()).
The prototype for these functions is:
</para>
<para><programlisting>
-int module_init(void);
+int init_module(void);
</programlisting></para>
<para>This function should call one or more