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:
Ingo Weinhold 2003-07-22 00:05:38 +00:00
parent f985036e31
commit f865306260

View File

@ -15,20 +15,22 @@ extern "C" {
#endif
// 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 {
partition_id id;
partition_id id; // [sys]
off_t offset;
off_t size;
uint32 block_size;
int32 child_count;
int32 index; // needed?
uint32 status;
int32 index; // [sys]
uint32 status; // [sys]
uint32 flags;
dev_t volume;
dev_t volume; // [sys]
char *name; // max: B_FILE_NAME_LENGTH
char *content_name; //
char *type; //
char *content_type; //
const char *content_type; // [sys]
char *parameters;
char *content_parameters;
void *cookie;