diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-19 19:31:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-01-19 19:31:00 +0000 |
commit | cb4e99201e1702a62af73debe342ea289f0d8362 (patch) | |
tree | 59ce92a3f4280b556c1456896b77a3ea3e57dbab /cpukit/libfs/src/imfs/imfs.h | |
parent | Update of libblock API, update of tqm8xx BSP (diff) | |
download | rtems-cb4e99201e1702a62af73debe342ea289f0d8362.tar.bz2 |
2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_creat.c,
libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_link.c,
libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/imfs_mknod.c,
libfs/src/imfs/imfs_symlink.c: Create special helper method for
creating the j-node for the root directory. This lets us assume that
every j-node created otherwise has a parent node.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs.h')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h index 5345269dcb..d198c5d884 100644 --- a/cpukit/libfs/src/imfs/imfs.h +++ b/cpukit/libfs/src/imfs/imfs.h @@ -1,7 +1,7 @@ /* * Header file for the In-Memory File System * - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2010. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -322,7 +322,6 @@ extern int IMFS_eval_path( rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ); - extern int IMFS_link( rtems_filesystem_location_info_t *to_loc, /* IN */ rtems_filesystem_location_info_t *parent_loc, /* IN */ @@ -351,6 +350,14 @@ extern int IMFS_mknod( rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ); +extern IMFS_jnode_t *IMFS_allocate_node( + IMFS_jnode_types_t type, /* IN */ + const char *name, /* IN */ + mode_t mode /* IN */ +); + +extern IMFS_jnode_t *IMFS_create_root_node(void); + extern IMFS_jnode_t *IMFS_create_node( rtems_filesystem_location_info_t *parent_loc, /* IN */ IMFS_jnode_types_t type, /* IN */ @@ -360,9 +367,9 @@ extern IMFS_jnode_t *IMFS_create_node( ); extern int IMFS_evaluate_for_make( - const char *path, /* IN */ - rtems_filesystem_location_info_t *pathloc, /* IN/OUT */ - const char **name /* OUT */ + const char *path, /* IN */ + rtems_filesystem_location_info_t *pathloc, /* IN/OUT */ + const char **name /* OUT */ ); extern int IMFS_mount( |