~mdw
/
yaid
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
policy.c, yaid.c: Silently ignore missing user policy files.
[yaid]
/
yaid.h
diff --git
a/yaid.h
b/yaid.h
index
4011787
..
18c17ec
100644
(file)
--- a/
yaid.h
+++ b/
yaid.h
@@
-349,7
+349,9
@@
struct policy_file {
* formatting error messages for the log.
*/
extern int open_policy_file(struct policy_file */*pf*/, const char */*name*/,
* formatting error messages for the log.
*/
extern int open_policy_file(struct policy_file */*pf*/, const char */*name*/,
- const char */*what*/, const struct query */*q*/);
+ const char */*what*/, const struct query */*q*/,
+ unsigned /*f*/);
+#define OPF_NOENTOK 1u /* Don't complain if file missing */
/* Read a policy rule from the file, storing it in PF->p. Return one of the
* T_* codes.
/* Read a policy rule from the file, storing it in PF->p. Return one of the
* T_* codes.