xfree86 man page for pam_get_data

Query: pam_get_data

OS: xfree86

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PAM_GET_DATA(3) 						 Linux-PAM Manual						   PAM_GET_DATA(3)

NAME
pam_get_data - get module internal data
SYNOPSIS
#include <security/pam_modules.h> int pam_get_data(const pam_handle_t *pamh, const char *module_data_name, const void **data);
DESCRIPTION
This function together with the pam_set_data(3) function is useful to manage module-specific data meaningful only to the calling PAM module. The pam_get_data function looks up the object associated with the (hopefully) unique string module_data_name in the PAM context specified by the pamh argument. A successful call to pam_get_data will result in data pointing to the object. Note, this data is not a copy and should be treated as constant by the module.
RETURN VALUES
PAM_SUCCESS Data was successful retrieved. PAM_SYSTEM_ERR A NULL pointer was submitted as PAM handle or the function was called by an application. PAM_NO_MODULE_DATA Module data not found or there is an entry, but it has the value NULL.
SEE ALSO
pam_end(3), pam_set_data(3), pam_strerror(3) Linux-PAM Manual 06/04/2011 PAM_GET_DATA(3)
Related Man Pages
pam_get_data(3) - ultrix
pam_get_data(3) - php
pam_get_data(3) - v7
pam_get_data(3) - redhat
pam_get_data(3) - osf1
Similar Topics in the Unix Linux Community
PHP Write Man Pages to MySQL DB
Denial Of Service Attack Update
Fedora 30 and Slackware 14.2, how to obtain the same rendering?