# define _PATH_TTY "/dev/tty"
#endif
-#ifdef HAVE_READPASSPHRASE_H
-# include <readpassphrase.h>
-#endif
#include "openbsd.h"
-#ifdef HAVE_PAM_APPL_H
-int doas_pam(char *name, int interactive, int nopass);
+#ifdef USE_PAM
+int pamauth(const char *, const char *, int, int);
+#endif
+
+#ifdef USE_SHADOW
+void shadowauth(const char *, int);
+#endif
+
+#ifdef PERSIST_TIMESTAMP
+int persist_open(int *, int);
+int persist_set(int, int);
+int persist_clear();
#endif
#endif /* INCLUDES_H */