summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/eventlog.h
blob: 1911b77e82414a27de3124d7780e3d5ae1037678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: BSD-3-Clause */

#ifndef EVENTLOG_H_
#define EVENTLOG_H_

#include <stdint.h>

struct event_header;
struct buffer;

void eventlog_print_event(const struct event_header *event, int count);
int eventlog_init_event(const struct buffer *buf, uint8_t type,
			const void *data, int data_size);

#endif // EVENTLOG_H_