summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libfs/src/dosfs/msdos_handlers_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libfs/src/dosfs/msdos_handlers_dir.c')
-rw-r--r--c/src/exec/libfs/src/dosfs/msdos_handlers_dir.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/c/src/exec/libfs/src/dosfs/msdos_handlers_dir.c b/c/src/exec/libfs/src/dosfs/msdos_handlers_dir.c
new file mode 100644
index 0000000000..e14d892add
--- /dev/null
+++ b/c/src/exec/libfs/src/dosfs/msdos_handlers_dir.c
@@ -0,0 +1,36 @@
+/*
+ * Directory Handlers Table for MSDOS filesystem
+ *
+ * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
+ * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * @(#) $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/libio.h>
+#include "msdos.h"
+
+rtems_filesystem_file_handlers_r msdos_dir_handlers = {
+ msdos_dir_open,
+ msdos_dir_close,
+ msdos_dir_read,
+ NULL, /* msdos_dir_write */
+ NULL, /* msdos_dir_ioctl */
+ msdos_dir_lseek,
+ msdos_dir_stat,
+ NULL,
+ NULL, /* msdos_dir_ftruncate */
+ NULL,
+ msdos_dir_sync,
+ msdos_dir_sync,
+ NULL, /* msdos_dir_fcntl */
+ msdos_dir_rmnod
+};