diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-02-23 01:24:02 +0000 | 
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-02-23 01:24:02 +0000 | 
| commit | 46acc3702698ba19936598ab0b2bcb79d0541e14 (patch) | |
| tree | ae223d64d0eef9481ac27d428fd4c517fe5427e4 /contrib/openpam/lib/pam_get_data.c | |
| parent | ac676a111684706b7e97927f12d29b25c5205078 (diff) | |
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. + */  | 
