1/* File System volume functions
2 *
3 * Copyright 2004-2005, Haiku Inc. All Rights Reserved.
4 * Distributed under the terms of the MIT License.
5 */
6#ifndef _FSSH_FS_VOLUME_H
7#define	_FSSH_FS_VOLUME_H
8
9#include "fssh_os.h"
10
11
12/* mount flags */
13#define FSSH_B_MOUNT_READ_ONLY		1
14#define FSSH_B_MOUNT_VIRTUAL_DEVICE	2
15
16/* unmount flags */
17#define FSSH_B_FORCE_UNMOUNT		1
18
19
20#ifdef  __cplusplus
21extern "C" {
22#endif
23
24extern fssh_dev_t		fssh_fs_mount_volume(const char *where,
25							const char *device, const char *filesystem,
26							uint32_t flags, const char *parameters);
27extern fssh_status_t	fssh_fs_unmount_volume(const char *path,
28							uint32_t flags);
29
30#ifdef  __cplusplus
31}
32#endif
33
34#endif	/* _FSSH_FS_VOLUME_H */
35