]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
more precisely describe what happens to the environment without keepenv; OK tedu@
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index 48069dbbace38d37580d61f6257398c9253a449f..4a117be1e256656c5e30658a72bcadd06f53df2c 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -29,7 +29,12 @@ extern struct rule **rules;
 extern int nrules;
 extern int parse_errors;
 
-char **prepenv(const struct rule *);
+extern const char *formerpath;
+
+struct passwd;
+
+char **prepenv(const struct rule *, const struct passwd *,
+    const struct passwd *);
 
 #define PERMIT 1
 #define DENY   2