blob: 4a6343d1466d72ae0aa3342bd3ecffcc3ed2b5c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifndef IO_H
#define IO_H
/*******************************************************************//**
*
* \file IO.h
*
* \author Xavier Del Campo
*
* \brief Include file for IO module.
*
************************************************************************/
/* *************************************
* Includes
* *************************************/
#include <stdint.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* *************************************
* Defines
* *************************************/
#define IO_INVALID_FILE_SIZE (size_t)(-1)
/* *************************************
* Public types definition
* *************************************/
/* *************************************
* Public variables declaration
* *************************************/
/* *************************************
* Public functions declaration
* *************************************/
const uint8_t *IOLoadFile(const char* const strFilePath, size_t* const fileSize);
#ifdef __cplusplus
}
#endif
#endif /* IO_H */
|