]> git.armaanb.net Git - opendoas.git/blobdiff - includes.h
timestamp: error out if fstat and lstat st_ino and st_dev are not the same
[opendoas.git] / includes.h
index 776a94030a9a51bea613512e1c04d77b8e3dcc97..d4967e05985c0a9a3b04ecc73794dd78fd9e37fb 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(const char *user, const char *ruser, int interactive, int nopass);
+#ifdef USE_PAM
+void pamauth(const char *, const char *, int, int, int);
+#endif
+
+#ifdef USE_SHADOW
+void shadowauth(const char *, int);
+#endif
+
+#ifdef USE_TIMESTAMP
+int timestamp_open(int *, int);
+int timestamp_set(int, int);
+int timestamp_clear(void);
 #endif
 
 #endif /* INCLUDES_H */