]> begriffs open source - freertos/blob - FreeRTOS-Plus/Source/Reliance-Edge/include/redmisc.h
Minor modification to the WIn32 simple TCP/IP stack example only.
[freertos] / FreeRTOS-Plus / Source / Reliance-Edge / include / redmisc.h
1 /*             ----> DO NOT REMOVE THE FOLLOWING NOTICE <----\r
2 \r
3                    Copyright (c) 2014-2015 Datalight, Inc.\r
4                        All Rights Reserved Worldwide.\r
5 \r
6     This program is free software; you can redistribute it and/or modify\r
7     it under the terms of the GNU General Public License as published by\r
8     the Free Software Foundation; use version 2 of the License.\r
9 \r
10     This program is distributed in the hope that it will be useful,\r
11     but "AS-IS," WITHOUT ANY WARRANTY; without even the implied warranty\r
12     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13     GNU General Public License for more details.\r
14 \r
15     You should have received a copy of the GNU General Public License along\r
16     with this program; if not, write to the Free Software Foundation, Inc.,\r
17     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 */\r
19 /*  Businesses and individuals that for commercial or other reasons cannot\r
20     comply with the terms of the GPLv2 license may obtain a commercial license\r
21     before incorporating Reliance Edge into proprietary software for\r
22     distribution in any form.  Visit http://www.datalight.com/reliance-edge for\r
23     more information.\r
24 */\r
25 /** @file\r
26 */\r
27 #ifndef REDMISC_H\r
28 #define REDMISC_H\r
29 \r
30 \r
31 /** @brief Type of an inode or handle.\r
32 \r
33     Used to indicate the actual or expected type of an inode or handle.\r
34 */\r
35 typedef enum\r
36 {\r
37     FTYPE_FILE,     /**< Type is file. */\r
38     FTYPE_DIR,      /**< Type is directory. */\r
39 \r
40     /** Type is either file or directory: used only to indicate an expected\r
41         type, never as an actual type.\r
42     */\r
43     FTYPE_EITHER\r
44 } FTYPE;\r
45 \r
46 \r
47 #endif\r
48 \r