]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
simplify makefile
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index 4a117be1e256656c5e30658a72bcadd06f53df2c..c38fca2de968c017516d847c43b76768237c2384 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -42,3 +42,18 @@ char **prepenv(const struct rule *, const struct passwd *,
 #define NOPASS         0x1
 #define KEEPENV                0x2
 #define PERSIST                0x4
+#define NOLOG          0x8
+
+#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