]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
fix pamcleanup
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index b6d0275196e080190d29c6faff29f163794407e2..2f95310d6e5e30a8a1d5fe1501458dce6bc0733e 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -1,18 +1,22 @@
-
+/* $OpenBSD$ */
 struct rule {
        int action;
        int options;
        const char *ident;
        const char *target;
        const char *cmd;
+       const char **cmdargs;
        const char **envlist;
 };
 
 extern struct rule **rules;
 extern int nrules, maxrules;
+extern int parse_errors;
 
 size_t arraylen(const char **);
 
+char **prepenv(struct rule *);
+
 #define PERMIT 1
 #define DENY   2