summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos.h
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2003-08-05 14:05:56 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2003-08-05 14:05:56 +0000
commit2e7b6dbbb5dfba02c3c45a7976250f6786b11857 (patch)
tree14634231719c9e82eafeb8d4794e20116ebf9504 /cpukit/libfs/src/dosfs/msdos.h
parent2003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-2e7b6dbbb5dfba02c3c45a7976250f6786b11857.tar.bz2
2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 441/filesystem *src/dosfs/msdos.h: add rename support to DOSFS *src/dosfs/msdos_create.c: add rename support to DOSFS *src/dosfs/msdos_file.c: add rename support to DOSFS *src/dosfs/msdos_init.c: add rename support to DOSFS *src/dosfs/msdos_mknod.c: add rename support to DOSFS
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos.h')
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h
index 5e5bea090e..fc7b3fd91b 100644
--- a/cpukit/libfs/src/dosfs/msdos.h
+++ b/cpukit/libfs/src/dosfs/msdos.h
@@ -77,6 +77,7 @@ extern rtems_filesystem_file_handlers_r msdos_file_handlers;
/* Node types */
#define MSDOS_DIRECTORY RTEMS_FILESYSTEM_DIRECTORY
#define MSDOS_REGULAR_FILE RTEMS_FILESYSTEM_MEMORY_FILE
+#define MSDOS_HARD_LINK RTEMS_FILESYSTEM_HARD_LINK /* pseudo type */
typedef rtems_filesystem_node_types_t msdos_node_type_t;
@@ -301,6 +302,11 @@ int
msdos_file_rmnod(rtems_filesystem_location_info_t *pathloc /* IN */);
int
+msdos_file_link(rtems_filesystem_location_info_t *to_loc,
+ rtems_filesystem_location_info_t *pa_loc,
+ const char *token);
+
+int
msdos_dir_open(
rtems_libio_t *iop, /* IN */
const char *pathname, /* IN */
@@ -341,7 +347,8 @@ int
msdos_creat_node(rtems_filesystem_location_info_t *parent_loc,
msdos_node_type_t type,
char *name,
- mode_t mode);
+ mode_t mode,
+ const fat_file_fd_t *link_fd);
/* Misc prototypes */
msdos_token_types_t msdos_get_token(const char *path,