af_inet.h 548 字节
Newer Older
1
/*
2
 * Copyright (c) 2006-2018, RT-Thread Development Team
3
 *
4
 * SPDX-License-Identifier: Apache-2.0
5 6 7 8 9 10 11 12 13 14 15
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-08-25     ChenYong     First version
 */

#ifndef __AF_INET_H__
#define __AF_INET_H__

#include <rtthread.h>

16 17 18 19
#ifdef __cplusplus
extern "C" {
#endif

20 21 22 23 24 25 26 27 28 29
#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

30 31 32 33
#ifdef __cplusplus
}
#endif

34
#endif /* __AF_INET_H__ */