2015-05-01 16:19:52 +08:00
|
|
|
/*
|
2018-10-15 01:23:33 +08:00
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
2015-05-01 16:19:52 +08:00
|
|
|
*
|
2018-10-15 01:23:33 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-05-01 16:19:52 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2015-02-17 Bernard First version
|
2016-05-10 09:22:01 +08:00
|
|
|
* 2016-05-05 Bernard rename dfs_lwip to dfs_net.
|
2015-05-01 16:19:52 +08:00
|
|
|
*/
|
|
|
|
|
2016-05-10 09:22:01 +08:00
|
|
|
#ifndef DFS_NET_H__
|
|
|
|
#define DFS_NET_H__
|
2015-05-01 16:19:52 +08:00
|
|
|
|
2018-08-25 21:04:11 +08:00
|
|
|
#include <dfs_file.h>
|
|
|
|
|
2015-05-01 16:19:52 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-10-15 22:44:53 +08:00
|
|
|
const struct dfs_file_ops* dfs_net_get_fops(void);
|
2016-05-10 09:22:01 +08:00
|
|
|
int dfs_net_getsocket(int fd);
|
2015-05-01 16:19:52 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2017-10-15 22:44:53 +08:00
|
|
|
|