acpi: Add IORT helper functions
[coreboot2.git] / util / cbfstool / eventlog.h
blob6cc39fbf8824a1fe2d9aac7dfa9d3fef1494d795
1 /* SPDX-License-Identifier: BSD-3-Clause */
3 #ifndef EVENTLOG_H_
4 #define EVENTLOG_H_
6 #include <stdint.h>
8 struct event_header;
9 struct buffer;
11 enum eventlog_timezone {
12 EVENTLOG_TIMEZONE_LOCALTIME = 0,
13 EVENTLOG_TIMEZONE_UTC,
16 void eventlog_print_event(const struct event_header *event, int count,
17 enum eventlog_timezone tz);
18 int eventlog_init_event(const struct buffer *buf, uint8_t type,
19 const void *data, int data_size);
21 #endif // EVENTLOG_H_