LexLeo
0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
osal_file_internal.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-3.0-or-later
2
* Copyright (C) 2026 Sylvain Labopin
3
*/
4
17
#ifndef LEXLEO_OSAL_FILE_INTERNAL_H
18
#define LEXLEO_OSAL_FILE_INTERNAL_H
19
20
#include "
osal/mem/osal_mem_ops.h
"
21
22
#include "
policy/lexleo_cstd_io.h
"
23
35
struct
OSAL_FILE
{
39
FILE *
fp
;
40
44
const
osal_mem_ops_t
*
mem_ops
;
45
};
46
47
#endif
// LEXLEO_OSAL_FILE_INTERNAL_H
lexleo_cstd_io.h
osal_mem_ops.h
OSAL_FILE
Private representation of an acquired OSAL file handle.
Definition
osal_file_internal.h:35
OSAL_FILE::fp
FILE * fp
Underlying C standard I/O file handle.
Definition
osal_file_internal.h:39
OSAL_FILE::mem_ops
const osal_mem_ops_t * mem_ops
Memory operations table used to release this wrapper.
Definition
osal_file_internal.h:44
osal_mem_ops_t
Definition
osal_mem_ops.h:12
src
foundation
osal
osal_file
src
internal
osal_file_internal.h
Generated by
1.9.8