xref: /netbsd-src/external/bsd/openpam/dist/doc/man/openpam_get_option.3 (revision 0d9d0fd8a30be9a1924e715bbcf67a4a83efd262)
1.\"	$NetBSD: openpam_get_option.3,v 1.9 2023/06/30 21:46:20 christos Exp $
2.\"
3.\" Generated from openpam_get_option.c by gendoc.pl
4.Dd June 27, 2023
5.Dt OPENPAM_GET_OPTION 3
6.Os
7.Sh NAME
8.Nm openpam_get_option
9.Nd returns the value of a module option
10.Sh SYNOPSIS
11.In sys/types.h
12.In security/pam_appl.h
13.In security/openpam.h
14.Ft "const char *"
15.Fn openpam_get_option "pam_handle_t *pamh" "const char *option"
16.Sh DESCRIPTION
17The
18.Fn openpam_get_option
19function returns the value of the specified
20option in the context of the currently executing service module, or
21.Dv NULL
22if the option is not set or no module is currently executing.
23.Sh RETURN VALUES
24The
25.Fn openpam_get_option
26function returns
27.Dv NULL
28on failure.
29.Sh SEE ALSO
30.Xr openpam_set_option 3 ,
31.Xr pam 3
32.Sh STANDARDS
33The
34.Fn openpam_get_option
35function is an OpenPAM extension.
36.Sh AUTHORS
37The
38.Fn openpam_get_option
39function and this manual page were
40developed for the
41.Fx
42Project by ThinkSec AS and Network Associates Laboratories, the
43Security Research Division of Network Associates, Inc.\& under
44DARPA/SPAWAR contract N66001-01-C-8035
45.Pq Dq CBOSS ,
46as part of the DARPA CHATS research program.
47.Pp
48The OpenPAM library is maintained by
49.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
50