Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 1 | #ifndef CPER_GENERATE_H |
2 | #define CPER_GENERATE_H | ||||
3 | |||||
Karthik Rajagopalan | 255bd81 | 2024-09-06 14:36:34 -0700 | [diff] [blame] | 4 | #ifdef __cplusplus |
5 | extern "C" { | ||||
6 | #endif | ||||
7 | |||||
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 8 | #include <stdio.h> |
Ed Tanous | a3b7f8a | 2024-11-04 16:38:59 -0800 | [diff] [blame] | 9 | #include "BaseTypes.h" |
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 10 | |
John Chung | f8fc705 | 2024-05-03 20:05:29 +0800 | [diff] [blame] | 11 | void generate_cper_record(char **types, UINT16 num_sections, FILE *out); |
Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 12 | void generate_single_section_record(char *type, FILE *out); |
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 13 | |
Karthik Rajagopalan | 255bd81 | 2024-09-06 14:36:34 -0700 | [diff] [blame] | 14 | #ifdef __cplusplus |
15 | } | ||||
16 | #endif | ||||
17 | |||||
John Chung | f8fc705 | 2024-05-03 20:05:29 +0800 | [diff] [blame] | 18 | #endif |