Unified the look of the different files a bit (their headers in particular).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2596 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
/* OS.h - kernel specific structures and functions
|
/* Kernel specific structures and functions
|
||||||
**
|
**
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _OS_H
|
#ifndef _OS_H
|
||||||
#define _OS_H
|
#define _OS_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
/* fs_attr.h
|
/* File System attributes
|
||||||
**
|
**
|
||||||
** functions/definitions for retrieving and setting attribute information.
|
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FS_ATTR_H
|
#ifndef _FS_ATTR_H
|
||||||
#define _FS_ATTR_H
|
#define _FS_ATTR_H
|
||||||
|
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,16 @@
|
|||||||
//----------------------------------------------------------------------
|
/* Disk device iteration and information
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
**
|
||||||
// by the OpenBeOS license.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
//---------------------------------------------------------------------
|
|
||||||
/*!
|
|
||||||
\file fs_devices.h
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FS_DEVICE_H
|
#ifndef _FS_DEVICE_H
|
||||||
#define _FS_DEVICE_H
|
#define _FS_DEVICE_H
|
||||||
|
|
||||||
|
|
||||||
#include <Drivers.h>
|
#include <Drivers.h>
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
|
|
||||||
// session flags
|
// session flags
|
||||||
enum {
|
enum {
|
||||||
B_DATA_SESSION = 0x01, /* data session */
|
B_DATA_SESSION = 0x01, /* data session */
|
||||||
@@ -49,6 +47,7 @@ typedef struct extended_partition_info {
|
|||||||
uint32 file_system_flags; /* same as fs_info::flags */
|
uint32 file_system_flags; /* same as fs_info::flags */
|
||||||
} extended_partition_info;
|
} extended_partition_info;
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -78,9 +77,8 @@ status_t get_fs_initialization_parameters(int deviceFD, int32 sessionIndex,
|
|||||||
status_t initialize_volume(const char *where, const char *fileSystem,
|
status_t initialize_volume(const char *where, const char *fileSystem,
|
||||||
const char *volumeName, const char *parameters);
|
const char *volumeName, const char *parameters);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif _FS_DEVICE_H
|
#endif /* _FS_DEVICE_H */
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
/* fs_index.h
|
/* File System indices
|
||||||
**
|
**
|
||||||
** functions/definitions for file system indices.
|
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FS_INDEX_H
|
#ifndef _FS_INDEX_H
|
||||||
#define _FS_INDEX_H
|
#define _FS_INDEX_H
|
||||||
|
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/* fs_info.h
|
/* General File System informations/capabilities
|
||||||
**
|
**
|
||||||
** functions/definitions for general file system information.
|
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FS_INFO_H
|
#ifndef _FS_INFO_H
|
||||||
#define _FS_INFO_H
|
#define _FS_INFO_H
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user