kern

view src/part.h @ 88:a398bf73fe93

- added the partition table parsing code - starting with the filesystem
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 08 Dec 2011 13:34:47 +0200
parents
children
line source
1 #ifndef PART_H_
2 #define PART_H_
4 #include <inttypes.h>
6 struct partition {
7 uint32_t start_sect;
8 size_t size_sect;
10 unsigned int attr;
12 struct partition *next;
13 };
15 struct partition *get_part_list(int devno);
16 void free_part_list(struct partition *plist);
18 int get_part_type(struct partition *p);
20 #endif /* PART_H_ */