From 6fdb4834cdb5557d9bd7562f61984da8bd0d9c80 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 9 Sep 2021 19:58:12 +0000 Subject: 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 --- doc/libnsssd/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/libnsssd') 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:
  • Your main() function can parse options and take command line arguments as it sees fit. But once it's done parsing options, give control to the nsssd_main() -function, using your argv and envp as -arguments: return nsssd_main(argv, envp);
  • +function, using your argv as an argument: +return nsssd_main(argv);

    @@ -74,10 +74,10 @@ backend; the pointer to your handle will be passed to every subsequent function. The function must not return NULL.

    -

    int nsssd_handle_start (void *handle, char const *const *argv, char const *const *envp)

    +

    int nsssd_handle_start (void *handle, char const *const *argv)

    This function must initialize the handle. The arguments -it receives are the argv and envp that have been +it takes are a pointer to the handle and the argv that has been passed to nsssd_main(). This allows you to write daemons that can be somewhat configured via the command line: it is how nsssd-nslcd takes an argument -- cgit v1.3.1