]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
The string with path to shell could be taken directly from struct passwd. At some...
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index 235df9fc43539132a4af70dada4a155afb471fda..2f95310d6e5e30a8a1d5fe1501458dce6bc0733e 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -1,5 +1,4 @@
-/* $OpenBSD: doas.h,v 1.3 2015/07/21 11:04:06 zhuk Exp $ */
-
+/* $OpenBSD$ */
 struct rule {
        int action;
        int options;
@@ -16,6 +15,8 @@ extern int parse_errors;
 
 size_t arraylen(const char **);
 
+char **prepenv(struct rule *);
+
 #define PERMIT 1
 #define DENY   2