xref: /nrf52832-nimble/rt-thread/components/net/sal_socket/impl/af_inet.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-08-25     ChenYong     First version
9  */
10 
11 #ifndef __AF_INET_H__
12 #define __AF_INET_H__
13 
14 #include <rtthread.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #ifdef SAL_USING_LWIP
21 /* lwIP protocol family register */
22 int lwip_inet_init(void);
23 #endif
24 
25 #ifdef SAL_USING_AT
26 /* AT protocol family register */
27 int at_inet_init(void);
28 #endif
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* __AF_INET_H__ */
35