1 /* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 #ifndef VBOOT_REFERENCE_IMAGE_TYPES_H_
7 #define VBOOT_REFERENCE_IMAGE_TYPES_H_
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif  /* __cplusplus */
12 
13 #include <stdint.h>
14 #include "bmpblk_header.h"
15 
16 /* Identify the data. Fill in known values if info is not NULL */
17 ImageFormat identify_image_type(const void *buf, uint32_t bufsize,
18                                 ImageInfo *info);
19 
20 #ifdef __cplusplus
21 }
22 #endif  /* __cplusplus */
23 
24 #endif /* VBOOT_REFERENCE_IMAGE_TYPES_H_ */
25 
26