OpenCore  1.0.4
OpenCore Bootloader
1.0.4
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
UserFile.h
Go to the documentation of this file.
1
6#ifndef OC_USER_FILE_H
7#define OC_USER_FILE_H
8
9#include <stdio.h>
10#include <stdlib.h>
11#include <stdint.h>
12#include <string.h>
13
14#ifdef COVERAGE_TEST
15 #if defined (__clang__)
16void
17__wrap_llvm_gcda_emit_arcs (
18 uint32_t num_counters,
19 uint64_t *counters
20 );
21
22void
23__real_llvm_gcda_emit_arcs (
24 uint32_t num_counters,
25 uint64_t *counters
26 );
27
28 #elif defined (__GNUC__)
29typedef int64_t gcov_type;
30
31gcov_type
32__gcov_read_counter (
33 void
34 );
35
36void
37__gcov_merge_add (
38 gcov_type *counters,
39 unsigned n_counters
40 );
41
42 #endif
43#endif
44
53UINT8 *
55 IN CONST CHAR8 *FileName,
56 OUT UINT32 *Size
57 );
58
66VOID
68 IN CONST CHAR8 *FileName,
69 IN CONST VOID *Data,
70 IN UINT32 Size
71 );
72
73#endif // OC_USER_FILE_H
DMG_SIZE_DEVICE_PATH Size
UINT8 * UserReadFile(IN CONST CHAR8 *FileName, OUT UINT32 *Size)
Definition UserFile.c:62
VOID UserWriteFile(IN CONST CHAR8 *FileName, IN CONST VOID *Data, IN UINT32 Size)
Definition UserFile.c:116
UINT32 uint32_t
UINT64 uint64_t
INT64 int64_t
Definition lzvn.h:43