summaryrefslogtreecommitdiff
path: root/doc/libnsssd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-09-09 19:58:12 +0000
committerLaurent Bercot <ska@appnovation.com>2021-09-09 19:58:12 +0000
commit6fdb4834cdb5557d9bd7562f61984da8bd0d9c80 (patch)
treec9ac0c6bc512beed2e550b9aba09eb2af090e6a7 /doc/libnsssd
parent1f213b642deb1d8e6139d2b7daac8f639c8717e7 (diff)
downloadnsss-6fdb4834cdb5557d9bd7562f61984da8bd0d9c80.tar.xz
Prepare for 0.2.0.0, lots of changes.
- Make _r functions completely thread-safe. - Save a lot of forking by having a persistent nsss_switch_query - Introduce a timeout to make the server expire - Start writing nsss-switch, not working yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/libnsssd')
-rw-r--r--doc/libnsssd/index.html8
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