RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
34extern "C" {
35#endif
36
52typedef enum {
57
62
67
72
77
83
87typedef struct {
91 const char *source;
92
96 const char *target;
97
101 const char *type;
102
107
112
118
191int rtems_fsmount(
192 const rtems_fstab_entry *fstab,
193 size_t size,
194 size_t *abort_index
195);
196
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 */
rtems_filesystem_options_t
File system options.
Definition: libio.h:1647
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:40
rtems_fstab_conditions
Definition: fsmount.h:52
@ RTEMS_FSTAB_NONE
Definition: fsmount.h:56
@ RTEMS_FSTAB_ERROR_MOUNT_POINT
Definition: fsmount.h:66
@ RTEMS_FSTAB_ERROR
Definition: fsmount.h:76
@ RTEMS_FSTAB_OK
Definition: fsmount.h:61
@ RTEMS_FSTAB_ANY
Definition: fsmount.h:81
@ RTEMS_FSTAB_ERROR_MOUNT
Definition: fsmount.h:71
Standard C Library Support.
Basic IO API.
Definition: fsmount.h:87
rtems_filesystem_options_t options
Definition: fsmount.h:106
const char * source
Definition: fsmount.h:91
const char * target
Definition: fsmount.h:96
const char * type
Definition: fsmount.h:101
uint16_t report_reasons
Definition: fsmount.h:111
uint16_t abort_reasons
Definition: fsmount.h:116
unsigned size
Definition: tte.h:1