01c00cfe | #include <vector> #include <security/pam_modules.h> #include <security/pam_appl.h> #include "pam.h" |
2fade7af | class syspam : public pam_ifc |
cdf7fd74 | { public: |
2fade7af | int get_conv (pam_handle *handle, const pam_conv **pout); |
01c00cfe | }; |
2fade7af | int syspam::get_conv (pam_handle *handle, std::shared_ptr<pam_conv_ifc> &out) |
cdf7fd74 | { |
2fade7af | return pam_get_item (handle, PAM_CONV, (const void **)pout); |
01c00cfe | } |
92957308 |