Proposal for mount/unmount/initialize function prototypes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2707 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f5e4e662cd
commit
39831bc66e
31
headers/os/kernel/fs_device.h
Normal file
31
headers/os/kernel/fs_device.h
Normal file
@ -0,0 +1,31 @@
|
||||
/* File System device functions
|
||||
**
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
#ifndef _FS_DEVICE_H
|
||||
#define _FS_DEVICE_H
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
|
||||
/* mount flags */
|
||||
#define B_MOUNT_READ_ONLY 1
|
||||
#define B_MOUNT_VIRTUAL_DEVICE 2
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern status_t fs_mount_device(const char *filesystem, const char *where, const char *device,
|
||||
uint32 flags, const char *parameters);
|
||||
extern status_t fs_unmount_device(const char *path);
|
||||
|
||||
extern status_t fs_initialize_device(const char *filesystem, const char *device, uint32 flags,
|
||||
const char *parameters);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _FS_DEVICE_H */
|
Loading…
Reference in New Issue
Block a user