Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:16

0001 /**
0002  * @file
0003  *
0004  * @ingroup DOSFS
0005  *
0006  * @brief Directory Handlers Table for MSDOS FileSystem
0007  */
0008 
0009 /*
0010  *  Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
0011  *  Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
0012  *
0013  *  The license and distribution terms for this file may be
0014  *  found in the file LICENSE in this distribution or at
0015  *  http://www.rtems.org/license/LICENSE.
0016  */
0017 
0018 #ifdef HAVE_CONFIG_H
0019 #include "config.h"
0020 #endif
0021 
0022 #include <rtems/libio.h>
0023 #include "msdos.h"
0024 
0025 const rtems_filesystem_file_handlers_r msdos_dir_handlers = {
0026   .open_h = rtems_filesystem_default_open,
0027   .close_h = rtems_filesystem_default_close,
0028   .read_h = msdos_dir_read,
0029   .write_h = rtems_filesystem_default_write,
0030   .ioctl_h = rtems_filesystem_default_ioctl,
0031   .lseek_h = rtems_filesystem_default_lseek_directory,
0032   .fstat_h = msdos_dir_stat,
0033   .ftruncate_h = rtems_filesystem_default_ftruncate_directory,
0034   .fsync_h = msdos_sync,
0035   .fdatasync_h = msdos_sync,
0036   .fcntl_h = rtems_filesystem_default_fcntl,
0037   .kqfilter_h = rtems_filesystem_default_kqfilter,
0038   .mmap_h = rtems_filesystem_default_mmap,
0039   .poll_h = rtems_filesystem_default_poll,
0040   .readv_h = rtems_filesystem_default_readv,
0041   .writev_h = rtems_filesystem_default_writev
0042 };