kern
view src/part.h @ 97:8717eb590727
ok stopping with the filesystem to manage to write the article in time
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 17 Dec 2011 14:09:17 +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_ */