diff options
Diffstat (limited to 'contrib/openpam/lib/pam_get_data.c')
| -rw-r--r-- | contrib/openpam/lib/pam_get_data.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_get_data.c b/contrib/openpam/lib/pam_get_data.c index f258de8386cc..b1f8ab370c13 100644 --- a/contrib/openpam/lib/pam_get_data.c +++ b/contrib/openpam/lib/pam_get_data.c @@ -65,3 +65,21 @@ pam_get_data(pam_handle_t *pamh, return (PAM_NO_MODULE_DATA); } + +/* + * Error codes: + * + * PAM_SYSTEM_ERR + * PAM_NO_MODULE_DATA + */ + +/** + * The =pam_get_data function looks up the opaque object associated with + * the string specified by the =module_data_name argument, in the PAM + * context specified by the =pamh argument. + * A pointer to the object is stored in the location pointed to by the + * =data argument. + * + * This function and its counterpart =pam_set_data are useful for managing + * data that are meaningful only to a particular service module. + */ |
