1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Directory Handlers Table for MSDOS FileSystem |
---|
5 | * @ingroup libfs |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
---|
10 | * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru> |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #if HAVE_CONFIG_H |
---|
18 | #include "config.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <rtems/libio.h> |
---|
22 | #include "msdos.h" |
---|
23 | |
---|
24 | const rtems_filesystem_file_handlers_r msdos_dir_handlers = { |
---|
25 | .open_h = rtems_filesystem_default_open, |
---|
26 | .close_h = rtems_filesystem_default_close, |
---|
27 | .read_h = msdos_dir_read, |
---|
28 | .write_h = rtems_filesystem_default_write, |
---|
29 | .ioctl_h = rtems_filesystem_default_ioctl, |
---|
30 | .lseek_h = rtems_filesystem_default_lseek_directory, |
---|
31 | .fstat_h = msdos_dir_stat, |
---|
32 | .ftruncate_h = rtems_filesystem_default_ftruncate_directory, |
---|
33 | .fsync_h = msdos_sync, |
---|
34 | .fdatasync_h = msdos_sync, |
---|
35 | .fcntl_h = rtems_filesystem_default_fcntl, |
---|
36 | .kqfilter_h = rtems_filesystem_default_kqfilter, |
---|
37 | .mmap_h = rtems_filesystem_default_mmap, |
---|
38 | .poll_h = rtems_filesystem_default_poll, |
---|
39 | .readv_h = rtems_filesystem_default_readv, |
---|
40 | .writev_h = rtems_filesystem_default_writev |
---|
41 | }; |
---|