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