RTEMS  5.0.0
fsmount.h
Go to the documentation of this file.
1 
14 /*
15  * Copyright (c) 2003 IMD
16  *
17  * Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
18  * <Thomas.Doerfler@imd-systems.de>
19  * all rights reserved
20  *
21  * The license and distribution terms for this file may be
22  * found in the file LICENSE in this distribution or at
23  * http://www.rtems.org/license/LICENSE.
24  */
25 
26 #ifndef _FSMOUNT_H
27 #define _FSMOUNT_H
28 
29 #include <rtems.h>
30 #include <rtems/libio.h>
31 #include <rtems/libcsupport.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
52 typedef enum {
57 
62 
67 
72 
77 
83 
87 typedef struct {
91  const char *source;
92 
96  const char *target;
97 
101  const char *type;
102 
107 
111  uint16_t report_reasons;
112 
116  uint16_t abort_reasons;
118 
191 int rtems_fsmount(
192  const rtems_fstab_entry *fstab,
193  size_t size,
194  size_t *abort_index
195 );
196 
199 typedef rtems_fstab_entry fstab_t;
200 
201 #define FSMOUNT_MNT_OK RTEMS_FSTAB_OK
202 
203 #define FSMOUNT_MNTPNT_CRTERR RTEMS_FSTAB_ERROR_MOUNT_POINT
204 
205 #define FSMOUNT_MNT_FAILED RTEMS_FSTAB_ERROR_MOUNT
206 
207 #ifdef __cplusplus
208 }
209 #endif
210 
211 #endif /* _FSMOUNT_H */
Definition: fsmount.h:76
Definition: fsmount.h:87
Basic IO API.
int rtems_fsmount(const rtems_fstab_entry *fstab, size_t size, size_t *abort_index)
Mounts the file systems listed in the file system mount table.
Definition: fsmount.c:39
Definition: fsmount.h:56
rtems_fstab_conditions
Definition: fsmount.h:52
rtems_filesystem_options_t
File system options.
Definition: libio.h:1649
Definition: fsmount.h:66
const char * type
Definition: fsmount.h:101
const char * target
Definition: fsmount.h:96
uint16_t report_reasons
Definition: fsmount.h:111
rtems_filesystem_options_t options
Definition: fsmount.h:106
Definition: fsmount.h:71
Definition: fsmount.h:61
Definition: fsmount.h:81
Standard C Library Support.
const char * source
Definition: fsmount.h:91
uint16_t abort_reasons
Definition: fsmount.h:116
unsigned size
Definition: tte.h:74