summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/impl/af_inet.h
blob: 8b7bf9d2a6a892bb8597e4561133573ce9e27a14 (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
/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-08-25     ChenYong     First version
 */

#ifndef __AF_INET_H__
#define __AF_INET_H__

#include <rtthread.h>

#ifdef __cplusplus
extern "C" {
#endif

#ifdef SAL_USING_LWIP
/* lwIP protocol family register */
int lwip_inet_init(void);
#endif

#ifdef SAL_USING_AT
/* AT protocol family register */
int at_inet_init(void);
#endif

#ifdef __cplusplus
}
#endif

#endif /* __AF_INET_H__ */