]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
fix err messages
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index 70005eec8cb05ed9ca751ca902ea2205837c9bcc..2f95310d6e5e30a8a1d5fe1501458dce6bc0733e 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -1,5 +1,4 @@
-/* $OpenBSD: doas.h,v 1.5 2016/06/05 00:46:34 djm Exp $ */
-
+/* $OpenBSD$ */
 struct rule {
        int action;
        int options;
@@ -8,7 +7,6 @@ struct rule {
        const char *cmd;
        const char **cmdargs;
        const char **envlist;
-       const char **setenvlist;
 };
 
 extern struct rule **rules;
@@ -17,9 +15,10 @@ extern int parse_errors;
 
 size_t arraylen(const char **);
 
+char **prepenv(struct rule *);
+
 #define PERMIT 1
 #define DENY   2
 
 #define NOPASS         0x1
 #define KEEPENV                0x2
-#define SETENV         0x4