LexLeo
0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
osal_file_fake_provider.c
Go to the documentation of this file.
1
// src/foundation/osal/osal_file/tests/support/fake_provider/src/osal_file_fake_provider.c
2
3
#include "
osal/file/test/osal_file_fake_provider.h
"
4
5
static
const
osal_file_ops_t
OSAL_FILE_FAKE_OPS
= {
6
.
open
= fake_file_open,
7
.read = fake_file_read,
8
.write = fake_file_write,
9
.flush = fake_file_flush,
10
.close = fake_file_close
11
};
12
13
const
osal_file_ops_t
*
osal_file_test_fake_ops
(
void
) {
14
return
&
OSAL_FILE_FAKE_OPS
;
15
}
OSAL_FILE_FAKE_OPS
static const osal_file_ops_t OSAL_FILE_FAKE_OPS
Definition
osal_file_fake_provider.c:5
osal_file_test_fake_ops
const osal_file_ops_t * osal_file_test_fake_ops(void)
Definition
osal_file_fake_provider.c:13
osal_file_fake_provider.h
osal_file_ops_t
Definition
osal_file_ops.h:16
osal_file_ops_t::open
osal_file_t *(* open)(const char *path_utf8, uint32_t flags, osal_file_status_t *status, const osal_file_env_t *env)
Definition
osal_file_ops.h:17
src
foundation
osal
osal_file_legacy
tests
support
fake_provider
src
osal_file_fake_provider.c
Generated by
1.9.8