repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/google/rauru: Implement regulator interface
[coreboot.git]
/
tests
/
include
/
helpers
/
file.h
blob
a583b000a231634fd35a0a0d8d07913cf6a42487
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