Return to doas.h CVS log | Up to [local] / src / usr.bin / doas |
1.2 ! bcallah 1: /* $OpenBSD$ */ 1.1 tedu 2: 3: struct rule { 4: int action; 5: int options; 6: const char *ident; 7: const char *target; 8: const char *cmd; 9: const char **envlist; 10: }; 11: 12: extern struct rule **rules; 13: extern int nrules, maxrules; 14: 15: size_t arraylen(const char **); 16: 17: #define PERMIT 1 18: #define DENY 2 19: 20: #define NOPASS 0x1 21: #define KEEPENV 0x2