summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libio.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-09 09:38:10 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-09 09:38:10 +0000
commit14fc3a77f8108838523fe73db08709419331819b (patch)
tree92b14ab64f83f12509ce7b0aad09025b081843d3 /cpukit/libcsupport/include/rtems/libio.h
parent2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-14fc3a77f8108838523fe73db08709419331819b.tar.bz2
2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added and use defines for file system types.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index 3e020ee2e4..cc28c7b42d 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -56,7 +56,7 @@ extern "C" {
typedef _off64_t rtems_off64_t;
/**
- * @name File system node types.
+ * @name File System Node Types
*
* @{
*/
@@ -669,6 +669,23 @@ static inline rtems_device_minor_number rtems_filesystem_dev_minor_t(
#define rtems_libio_is_valid_perms( _perm ) \
(~ ((~RTEMS_LIBIO_PERMS_RWX) & _perm ))
+/**
+ * @name File System Types
+ *
+ * @{
+ */
+
+#define RTEMS_FILESYSTEM_TYPE_IMFS "imfs"
+#define RTEMS_FILESYSTEM_TYPE_MINIIMFS "mimfs"
+#define RTEMS_FILESYSTEM_TYPE_DEVFS "devfs"
+#define RTEMS_FILESYSTEM_TYPE_FTPFS "ftpfs"
+#define RTEMS_FILESYSTEM_TYPE_TFTPFS "tftpfs"
+#define RTEMS_FILESYSTEM_TYPE_NFS "nfs"
+#define RTEMS_FILESYSTEM_TYPE_DOSFS "dosfs"
+#define RTEMS_FILESYSTEM_TYPE_RFS "rfs"
+
+/** @} */
+
/*
* Prototypes for filesystem
*/