]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
use config.h and link objects instead of libopenbsd.a
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index 5de73cc5f412e4bedecd3c665fbf8d1617cb6a2a..de8dbe1c18495cd5fab1d3fe1eeddce8ac16d0aa 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -29,11 +29,12 @@ extern struct rule **rules;
 extern int nrules;
 extern int parse_errors;
 
-size_t arraylen(const char **);
+extern const char *formerpath;
 
-char **prepenv(struct rule *);
+struct passwd;
 
-int yyparse(void);
+char **prepenv(const struct rule *, const struct passwd *,
+    const struct passwd *);
 
 #define PERMIT 1
 #define DENY   2
@@ -41,3 +42,4 @@ int yyparse(void);
 #define NOPASS         0x1
 #define KEEPENV                0x2
 #define PERSIST                0x4
+#define NOLOG          0x8