[dd2906e] | 1 | /* |
---|
| 2 | * Some basic filesystem types |
---|
| 3 | * |
---|
| 4 | * COPYRIGHT (c) 1989-1999. |
---|
| 5 | * On-Line Applications Research Corporation (OAR). |
---|
| 6 | * |
---|
| 7 | * The license and distribution terms for this file may be |
---|
| 8 | * found in the file LICENSE in this distribution or at |
---|
[09fd8ce5] | 9 | * http://www.rtems.com/license/LICENSE. |
---|
[dd2906e] | 10 | * |
---|
| 11 | * $Id$ |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | #ifndef __rtems_fstypes_h |
---|
| 15 | #define __rtems_fstypes_h |
---|
| 16 | |
---|
| 17 | #ifdef __cplusplus |
---|
| 18 | extern "C" { |
---|
| 19 | #endif |
---|
| 20 | |
---|
| 21 | /* |
---|
| 22 | * File descriptor Table Information |
---|
| 23 | */ |
---|
| 24 | |
---|
| 25 | /* Forward declarations */ |
---|
| 26 | |
---|
| 27 | /* FIXME: shouldn't this better not be here? */ |
---|
| 28 | typedef struct rtems_libio_tt rtems_libio_t; |
---|
| 29 | |
---|
| 30 | typedef struct rtems_filesystem_location_info_tt |
---|
| 31 | rtems_filesystem_location_info_t; |
---|
| 32 | |
---|
| 33 | struct rtems_filesystem_mount_table_entry_tt; |
---|
| 34 | typedef struct rtems_filesystem_mount_table_entry_tt |
---|
| 35 | rtems_filesystem_mount_table_entry_t; |
---|
| 36 | |
---|
| 37 | typedef struct _rtems_filesystem_file_handlers_r |
---|
| 38 | rtems_filesystem_file_handlers_r; |
---|
| 39 | typedef struct _rtems_filesystem_operations_table |
---|
| 40 | rtems_filesystem_operations_table; |
---|
| 41 | |
---|
| 42 | /* |
---|
| 43 | * Structure used to determine a location/filesystem in the tree. |
---|
| 44 | */ |
---|
| 45 | |
---|
| 46 | struct rtems_filesystem_location_info_tt |
---|
| 47 | { |
---|
| 48 | void *node_access; |
---|
| 49 | rtems_filesystem_file_handlers_r *handlers; |
---|
| 50 | rtems_filesystem_operations_table *ops; |
---|
| 51 | rtems_filesystem_mount_table_entry_t *mt_entry; |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | #ifdef __cplusplus |
---|
| 55 | } |
---|
| 56 | #endif |
---|
| 57 | |
---|
| 58 | #endif |
---|
| 59 | /* end of include file */ |
---|