blob: 4ec86502bd98814a95151edc611f8d11649904d4 [file] [log] [blame]
#ifndef CPER_SECTION_H
#define CPER_SECTION_H
#include <json.h>
#include <stdio.h>
#include <stdlib.h>
#include "../edk/Cper.h"
//Definition structure for a single CPER section type.
typedef struct {
EFI_GUID *Guid;
const char *ReadableName;
json_object *(*ToIR)(void *);
void (*ToCPER)(json_object *, FILE *);
} CPER_SECTION_DEFINITION;
extern CPER_SECTION_DEFINITION section_definitions[];
extern const size_t section_definitions_len;
#endif