1
/* $Id: pam_login.h,v 1.4 2001/04/22 15:20:38 japh Exp $ */
2
#ifndef __HAVE_PAM_LOGIN_H__
3
#define __HAVE_PAM_LOGIN_H__
6
#if HAVE_SECURITY_PAM_APPL_H
7
#include <security/pam_appl.h>
10
void pamd_set_user(char *usn, char *pswd);
11
void pamd_set_location(char *ln, char *rh);
12
int pam_pamconv(int num_msg, const struct pam_message **msg,
13
struct pam_response **resp, void *appdata_ptr);
14
int pam_startpam(void);
16
int pam_authenticatepam(void);
17
int pam_startpamsession(void);
18
int pam_endpamsession(void);
20
/* I know, this is ugly -- ak */