xref: /openbmc/libcper/include/libcper/generator/cper-generate.h (revision ae8f6d9aaeaf37332e8924dd2c0b6f320335548c)
1 #ifndef CPER_GENERATE_H
2 #define CPER_GENERATE_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include <stdio.h>
9 #include <libcper/BaseTypes.h>
10 #include <libcper/generator/sections/gen-section.h>
11 
12 void generate_cper_record(char **types, UINT16 num_sections, FILE *out,
13 			  GEN_VALID_BITS_TEST_TYPE validBitsType);
14 void generate_single_section_record(char *type, FILE *out,
15 				    GEN_VALID_BITS_TEST_TYPE validBitsType);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif
22