auth_module
struct auth_module *authp;
authp = calloc(1, sizeof (struct auth_module));
return (((struct auth_module *)funcp)->pam_sm_authenticate);
return (((struct auth_module *)funcp)->pam_sm_setcred);