blob: 6cc39fbf8824a1fe2d9aac7dfa9d3fef1494d795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef EVENTLOG_H_
#define EVENTLOG_H_
#include <stdint.h>
struct event_header;
struct buffer;
enum eventlog_timezone {
EVENTLOG_TIMEZONE_LOCALTIME = 0,
EVENTLOG_TIMEZONE_UTC,
};
void eventlog_print_event(const struct event_header *event, int count,
enum eventlog_timezone tz);
int eventlog_init_event(const struct buffer *buf, uint8_t type,
const void *data, int data_size);
#endif // EVENTLOG_H_
|