pam_set_item(pam_handle_t *pamh, int item_type, const void *item);
extern int PAM_NONNULL((1,3))
-pam_get_item(pam_handle_t *pamh, int item_type, const void **item);
+pam_get_item(const pam_handle_t *pamh, int item_type, const void **item);
extern const char *
pam_strerror(pam_handle_t *pamh, int errnum);
int error_status));
extern int PAM_NONNULL((1,2,3))
-pam_get_data(pam_handle_t *pamh, const char *module_data_name,
+pam_get_data(const pam_handle_t *pamh, const char *module_data_name,
const void **data);
extern int PAM_NONNULL((1,2))
}
int pam_get_data(
- pam_handle_t *pamh,
+ const pam_handle_t *pamh,
const char *module_data_name,
const void **datap)
{
return retval;
}
-int pam_get_item (pam_handle_t *pamh, int item_type, const void **item)
+int pam_get_item (const pam_handle_t *pamh, int item_type, const void **item)
{
int retval = PAM_SUCCESS;