summaryrefslogtreecommitdiff
path: root/tests/include/helpers/file.h
blob: a583b000a231634fd35a0a0d8d07913cf6a42487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _TESTS_HELPERS_FILE_H
#define _TESTS_HELPERS_FILE_H

#include <stddef.h>
#include <stdint.h>

int test_get_file_size(const char *fname);
int test_read_file(const char *fname, uint8_t *buf, size_t size);

#endif