2018-08-24 20:39:10 +08:00
|
|
|
/*
|
2018-10-15 01:23:33 +08:00
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
2018-08-24 20:39:10 +08:00
|
|
|
*
|
2018-10-15 01:23:33 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2018-08-24 20:39:10 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2018-08-25 ChenYong First version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __AF_INET_H__
|
|
|
|
#define __AF_INET_H__
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
2018-08-25 21:04:11 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-08-24 20:39:10 +08:00
|
|
|
#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
|
|
|
|
|
2018-08-25 21:04:11 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2018-08-24 20:39:10 +08:00
|
|
|
#endif /* __AF_INET_H__ */
|