]> git.armaanb.net Git - opendoas.git/blobdiff - includes.h
timestamp: rename and simplify
[opendoas.git] / includes.h
index 1be024ad20baf78bac999fbe2597340a1ee7d66f..d3d4e390a2a10c59508e5bc859dac3aa4ceb8963 100644 (file)
 # define _PATH_TTY "/dev/tty"
 #endif
 
-#ifdef HAVE_READPASSPHRASE_H
-# include <readpassphrase.h>
-#endif
 
 #include "openbsd.h"
 
-#ifdef HAVE_PAM_APPL_H
+#ifdef USE_PAM
 int pamauth(const char *, const char *, 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 */