diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-16 22:54:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-16 22:54:59 +0000 |
commit | d09ad1f0e0c435fce5f1d0a36f089cb69cb3f5cc (patch) | |
tree | e6c43086053aa261ba82d5caa401f573ea4549b0 /c/src/exec/libcsupport/include/rtems/libio.h | |
parent | 2001-01-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d09ad1f0e0c435fce5f1d0a36f089cb69cb3f5cc.tar.bz2 |
2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/libio.h: Add #include <rtems/fs.h>.
Reflect changes due to using rtems/fs.h.
* include/rtems/libio_.h: Reworked.
Diffstat (limited to 'c/src/exec/libcsupport/include/rtems/libio.h')
-rw-r--r-- | c/src/exec/libcsupport/include/rtems/libio.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/libio.h b/c/src/exec/libcsupport/include/rtems/libio.h index 1d4a2621d4..d95e5c375e 100644 --- a/c/src/exec/libcsupport/include/rtems/libio.h +++ b/c/src/exec/libcsupport/include/rtems/libio.h @@ -28,15 +28,7 @@ * Define data types which must be constructed using forward references. */ -typedef struct rtems_libio_tt rtems_libio_t; - -struct rtems_filesystem_location_info_tt; -typedef struct rtems_filesystem_location_info_tt - rtems_filesystem_location_info_t; - -struct rtems_filesystem_mount_table_entry_tt; -typedef struct rtems_filesystem_mount_table_entry_tt - rtems_filesystem_mount_table_entry_t; +#include <rtems/fs.h> /* * Valid RTEMS file types. @@ -125,7 +117,7 @@ typedef int (*rtems_filesystem_rmnod_t)( rtems_filesystem_location_info_t *pathloc /* IN */ ); -typedef struct { +struct _rtems_filesystem_file_handlers_r { rtems_filesystem_open_t open_h; rtems_filesystem_close_t close_h; rtems_filesystem_read_t read_h; @@ -140,7 +132,7 @@ typedef struct { rtems_filesystem_fdatasync_t fdatasync_h; rtems_filesystem_fcntl_t fcntl_h; rtems_filesystem_rmnod_t rmnod_h; -} rtems_filesystem_file_handlers_r; +}; /* * File System Operations Table @@ -248,7 +240,7 @@ typedef int (*rtems_filesystem_readlink_t)( /* * File system types */ -typedef struct { +struct _rtems_filesystem_operations_table { rtems_filesystem_evalpath_t evalpath_h; rtems_filesystem_evalmake_t evalformake_h; rtems_filesystem_link_t link_h; @@ -265,7 +257,10 @@ typedef struct { rtems_filesystem_evaluate_link_t eval_link_h; rtems_filesystem_symlink_t symlink_h; rtems_filesystem_readlink_t readlink_h; -} rtems_filesystem_operations_table; +}; + +#if 0 +/* Now in exec/include/rtems/fs.h */ /* * Structure used to determine a location/filesystem in the tree. @@ -278,6 +273,7 @@ struct rtems_filesystem_location_info_tt rtems_filesystem_operations_table *ops; rtems_filesystem_mount_table_entry_t *mt_entry; }; +#endif /* * Structure used to contain file system specific information which |