]> git.armaanb.net Git - opendoas.git/blobdiff - includes.h
libopenbsd: minor cleanup
[opendoas.git] / includes.h
index e9ebf6364da8d6365097b9511862bcc8ec76d62a..7083674fdc1f03ea85b1b0e7d8db85c3e5dc9cff 100644 (file)
 # 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 */