From 6376f0dd27115ae9951267c8f1313b498d439ba1 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 6 Mar 2016 14:26:36 -0500 Subject: driver: added context initialization for --warnings. --- include/slibtool/slibtool.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 7f48fdd..edc24e5 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -57,6 +57,13 @@ enum slbt_tag { SLBT_TAG_CXX, }; +enum slbt_warning_level { + SLBT_WARNING_LEVEL_UNKNOWN, + SLBT_WARNING_LEVEL_ALL, + SLBT_WARNING_LEVEL_ERROR, + SLBT_WARNING_LEVEL_NONE, +}; + /* unit action flags */ struct slbt_input { @@ -70,6 +77,7 @@ struct slbt_common_ctx { uint64_t fmtflags; enum slbt_mode mode; enum slbt_tag tag; + enum slbt_warning_level warnings; }; struct slbt_driver_ctx { -- cgit v1.2.3