-/* $OpenBSD: doas.h,v 1.5 2016/06/05 00:46:34 djm Exp $ */
-
+/* $OpenBSD$ */
struct rule {
int action;
int options;
const char *cmd;
const char **cmdargs;
const char **envlist;
- const char **setenvlist;
};
extern struct rule **rules;
size_t arraylen(const char **);
+char **prepenv(struct rule *);
+
#define PERMIT 1
#define DENY 2
#define NOPASS 0x1
#define KEEPENV 0x2
-#define SETENV 0x4
+#define PERSIST 0x4