xref: /aosp_15_r20/external/coreboot/tests/include/helpers/file.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _TESTS_HELPERS_FILE_H
4 #define _TESTS_HELPERS_FILE_H
5 
6 #include <stddef.h>
7 #include <stdint.h>
8 
9 int test_get_file_size(const char *fname);
10 int test_read_file(const char *fname, uint8_t *buf, size_t size);
11 
12 #endif
13