summaryrefslogtreecommitdiff
path: root/util/ec_panicinfo.h
blob: 0d7dba79f56014a78c17d963f5ae607e7048d28a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright 2016 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef EC_PANICINFO_H
#define EC_PANICINFO_H

#include "panic.h"

/**
 * Prints panic information to stdout.
 *
 * @param pdata  Panic information to print
 * @return 0 if success or non-zero error code if error.
 */
int parse_panic_info(const char *data, size_t size);

#endif /* EC_PANICINFO_H */