dfs_net.h 1.2 KB
Newer Older
1
/*
2
 * File      : dfs_net.h
3
 * This file is part of RT-Thread RTOS
4
 * COPYRIGHT (C) 2015-2016, RT-Thread Development Team
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Change Logs:
 * Date           Author       Notes
 * 2015-02-17     Bernard      First version
23
 * 2016-05-05     Bernard      rename dfs_lwip to dfs_net.
24 25
 */

26 27
#ifndef DFS_NET_H__
#define DFS_NET_H__
28 29 30 31 32

#ifdef __cplusplus
extern "C" {
#endif

33 34
#include <lwip/sockets.h>

35 36
struct dfs_filesystem* dfs_net_get_fs(void);
int dfs_net_getsocket(int fd);
37

38
int dfs_net_system_init(void);
39 40 41 42 43 44

#ifdef __cplusplus
}
#endif

#endif