kern

view src/part.h @ 96:07fe6a614185

filesystem
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 15 Dec 2011 04:39:00 +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_ */