]> 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 9f0e5e491a43165e091222cdd3ab76edaade9e0e..2f95310d6e5e30a8a1d5fe1501458dce6bc0733e 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -1,5 +1,4 @@
-/* $OpenBSD: doas.h,v 1.2 2015/07/18 07:49:16 bcallah Exp $ */
-
+/* $OpenBSD$ */
 struct rule {
        int action;
        int options;
@@ -12,9 +11,12 @@ struct rule {
 
 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