diff options
Diffstat (limited to 'doc/libnsssd')
-rw-r--r-- | doc/libnsssd/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/libnsssd/index.html b/doc/libnsssd/index.html index 4cbff45..7e0cd82 100644 --- a/doc/libnsssd/index.html +++ b/doc/libnsssd/index.html @@ -57,8 +57,8 @@ the name of your program to the PROG variable. Example: <li> Your <tt>main()</tt> function can parse options and take command line arguments as it sees fit. But once it's done parsing options, give control to the <tt>nsssd_main()</tt> -function, using your <em>argv</em> and <em>envp</em> as -arguments: <tt>return nsssd_main(argv, envp);</tt> </li> +function, using your <em>argv</em> as an argument: +<tt>return nsssd_main(argv);</tt> </li> </ul> <p> @@ -74,10 +74,10 @@ backend; the pointer to your handle will be passed to every subsequent function. The function must not return NULL. </p> -<h4><code>int nsssd_handle_start (void *handle, char const *const *argv, char const *const *envp)</code></h4> +<h4><code>int nsssd_handle_start (void *handle, char const *const *argv)</code></h4> <p> This function must <em>initialize the handle</em>. The arguments -it receives are the <em>argv</em> and <em>envp</em> that have been +it takes are a pointer to the handle and the <em>argv</em> that has been passed to <tt>nsssd_main()</tt>. This allows you to write daemons that can be somewhat configured via the command line: it is how <a href="../nsssd-nslcd.html">nsssd-nslcd</a> takes an argument |