Some comments regarding the partition_data struct.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4044 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f985036e31
commit
f865306260
@ -15,20 +15,22 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// C API partition representation
|
// C API partition representation
|
||||||
|
// Fields marked [sys] are set by the system and are not to be changed by
|
||||||
|
// the disk system modules.
|
||||||
typedef struct partition_data {
|
typedef struct partition_data {
|
||||||
partition_id id;
|
partition_id id; // [sys]
|
||||||
off_t offset;
|
off_t offset;
|
||||||
off_t size;
|
off_t size;
|
||||||
uint32 block_size;
|
uint32 block_size;
|
||||||
int32 child_count;
|
int32 child_count;
|
||||||
int32 index; // needed?
|
int32 index; // [sys]
|
||||||
uint32 status;
|
uint32 status; // [sys]
|
||||||
uint32 flags;
|
uint32 flags;
|
||||||
dev_t volume;
|
dev_t volume; // [sys]
|
||||||
char *name; // max: B_FILE_NAME_LENGTH
|
char *name; // max: B_FILE_NAME_LENGTH
|
||||||
char *content_name; //
|
char *content_name; //
|
||||||
char *type; //
|
char *type; //
|
||||||
char *content_type; //
|
const char *content_type; // [sys]
|
||||||
char *parameters;
|
char *parameters;
|
||||||
char *content_parameters;
|
char *content_parameters;
|
||||||
void *cookie;
|
void *cookie;
|
||||||
|
Loading…
Reference in New Issue
Block a user