Add ability to use lib without json-c dependency
Adds 2 wrapper APIs to parse raw CPER & return char* for json
cperbuf_to_str_ir - parses a full CPER
cperbuf_single_section_to_str_ir - parses a single-section CPER
Change-Id: Ief018cc421497a8c366157a21e83ef60641e2646
Signed-off-by: Karthik Rajagopalan <krajagopalan@nvidia.com>
diff --git a/meson.build b/meson.build
index 1ef4da0..10c05fe 100644
--- a/meson.build
+++ b/meson.build
@@ -125,6 +125,7 @@
)
install_headers('cper-parse.h')
+install_headers('cper-parse-str.h')
install_headers('cper-utils.h')
install_headers('common-utils.h')
install_headers('generator/cper-generate.h', subdir: 'generator')
@@ -159,4 +160,4 @@
if get_option('tests').allowed()
subdir('tests')
-endif
\ No newline at end of file
+endif