aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libucl/ucl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-19 15:54:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-19 15:54:25 +0000
commit456c2f66f3e06243835d9e62b8c289265e947e61 (patch)
tree82d4a939c078e69eb624f90633b4bcddb209797b /contrib/libucl/ucl.h
parentd7cddc0f8c2ff449a3341b399df4c32ad7ea9803 (diff)
downloadrspamd-456c2f66f3e06243835d9e62b8c289265e947e61.tar.gz
rspamd-456c2f66f3e06243835d9e62b8c289265e947e61.zip
[Minor] Add ability to skip setting of file vars in UCL
Diffstat (limited to 'contrib/libucl/ucl.h')
-rw-r--r--contrib/libucl/ucl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libucl/ucl.h b/contrib/libucl/ucl.h
index ee683b163..ee03334e0 100644
--- a/contrib/libucl/ucl.h
+++ b/contrib/libucl/ucl.h
@@ -154,7 +154,8 @@ typedef enum ucl_parser_flags {
UCL_PARSER_NO_TIME = (1 << 2), /**< Do not parse time and treat time values as strings */
UCL_PARSER_NO_IMPLICIT_ARRAYS = (1 << 3), /** Create explicit arrays instead of implicit ones */
UCL_PARSER_SAVE_COMMENTS = (1 << 4), /** Save comments in the parser context */
- UCL_PARSER_DISABLE_MACRO = (1 << 5) /** Treat macros as comments */
+ UCL_PARSER_DISABLE_MACRO = (1 << 5), /** Treat macros as comments */
+ UCL_PARSER_NO_FILEVARS = (1 << 6) /** Do not set file vars */
} ucl_parser_flags_t;
/**