xref: /nrf52832-nimble/rt-thread/components/net/sal_socket/include/sal_type.h (revision 104654410c56c573564690304ae786df310c91fc)
1 /*
2  * Copyright (c) 2006-2018, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2018-05-17     ChenYong     First version
9  */
10 
11 #ifndef SAL_TYPE_H__
12 #define SAL_TYPE_H__
13 
14 #include <stdlib.h>
15 #include <stdint.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 typedef int8_t    err_t;
22 typedef uint8_t   u8_t;
23 typedef int8_t    s8_t;
24 typedef uint16_t  u16_t;
25 typedef int16_t   s16_t;
26 typedef uint32_t  u32_t;
27 typedef int32_t   s32_t;
28 typedef uintptr_t mem_ptr_t;
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* SAL_TYPE_H__ */
35