Changeset f785492 in rtems for cpukit/libfs/src/imfs/imfs.h


Ignore:
Timestamp:
Feb 14, 2015, 7:07:19 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
a43a3466
Parents:
5640dd5
git-author:
Sebastian Huber <sebastian.huber@…> (02/14/15 19:07:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/14/15 20:34:42)
Message:

IMFS: Add CONFIGURE_IMFS_DISABLE_READDIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/imfs/imfs.h

    r5640dd5 rf785492  
    136136);
    137137
     138IMFS_jnode_t *IMFS_node_initialize_directory(
     139  IMFS_jnode_t *node,
     140  void *arg
     141);
     142
    138143/**
    139144 * @brief Returns the node and sets the generic node context.
     
    179184  IMFS_jnode_t *node
    180185);
     186
     187IMFS_jnode_t *IMFS_node_remove_directory( IMFS_jnode_t *node );
    181188
    182189/**
     
    385392 */
    386393
    387 extern const IMFS_mknod_control IMFS_mknod_control_directory;
     394extern const IMFS_mknod_control IMFS_mknod_control_dir_default;
     395extern const IMFS_mknod_control IMFS_mknod_control_dir_minimal;
    388396extern const IMFS_mknod_control IMFS_mknod_control_device;
    389397extern const IMFS_mknod_control IMFS_mknod_control_memfile;
     
    701709
    702710/**
    703  * @brief Read the next directory of the IMFS.
    704  *
    705  * This routine will read the next directory entry based on the directory
    706  * offset. The offset should be equal to -n- time the size of an individual
    707  * dirent structure. If n is not an integer multiple of the sizeof a
    708  * dirent structure, an integer division will be performed to determine
    709  * directory entry that will be returned in the buffer. Count should reflect
    710  * -m- times the sizeof dirent bytes to be placed in the buffer.
    711  * If there are not -m- dirent elements from the current directory position
    712  * to the end of the exisiting file, the remaining entries will be placed in
    713  * the buffer and the returned value will be equal to -m actual- times the
    714  * size of a directory entry.
    715  */
    716 extern ssize_t imfs_dir_read(
    717   rtems_libio_t *iop,              /* IN  */
    718   void          *buffer,           /* IN  */
    719   size_t         count             /* IN  */
    720 );
    721 
    722 /**
    723711 * @name IMFS Memory File Handlers
    724712 *
Note: See TracChangeset for help on using the changeset viewer.