blob: 0a8299e1e41050678badf52d1fd9fd5a15a2d196 (
plain)
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
|
/*******************************************************************************
* Copyright (C) ST-Ericsson SA 2011
* License terms: 3-clause BSD license
******************************************************************************/
#ifndef _T_SERIALIZATION_H_
#define _T_SERIALIZATION_H_
/**
* @addtogroup ldr_utilities
* @{
* @addtogroup serialization
* @{
*/
/*******************************************************************************
* Includes
******************************************************************************/
#include "t_basicdefinitions.h"
/*******************************************************************************
* Types, constants
******************************************************************************/
/** By default we use Little Endian ordering, this macro is declared to simplify
the calling of the function. */
#define get_uint16 get_uint16_le
/** By default we use Little Endian ordering, this macro is declared to simplify
the calling of the function. */
#define get_uint32 get_uint32_le
/** By default we use Little Endian ordering, this macro is declared to simplify
the calling of the function. */
#define put_uint16 put_uint16_le
/** By default we use Little Endian ordering, this macro is declared to simplify
the calling of the function. */
#define put_uint32 put_uint32_le
/** @} */
/** @} */
#endif /*T_SERIALIZATION_H_*/
|