source: rtems/c/src/libfs/src/imfs/imfs_handlers_directory.c @ b568ccb

4.104.114.84.95
Last change on this file since b568ccb was b568ccb, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 20:20:13

The object memfile.o was being included in the miniIMFS even though it
should not have been. This required that IMFS_rmnod be split into
three separate (per file type) routines to avoid dependencies.
In the end, a miniIMFS application is 6K smaller than one using the
full IMFS.

  • Property mode set to 100644
File size: 872 bytes
Line 
1/*
2 *  Operations Table for Directories for the IMFS
3 *
4 *  COPYRIGHT (c) 1989-1998.
5 *  On-Line Applications Research Corporation (OAR).
6 *  Copyright assigned to U.S. Government, 1994.
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <errno.h>
16
17#include "imfs.h"
18
19/*
20 *  Set of operations handlers for operations on directories.
21 */
22
23rtems_filesystem_file_handlers_r IMFS_directory_handlers = {
24  imfs_dir_open,
25  imfs_dir_close,
26  imfs_dir_read,
27  NULL,             /* write */
28  NULL,             /* ioctl */
29  imfs_dir_lseek,
30  imfs_dir_fstat,
31  IMFS_fchmod,
32  NULL,             /* ftruncate */
33  NULL,             /* fpathconf */
34  NULL,             /* fsync */
35  IMFS_fdatasync,
36  IMFS_fcntl,
37  imfs_dir_rmnod
38};
39
40
41
42
43
44
45
46
Note: See TracBrowser for help on using the repository browser.