kern
annotate src/part.h @ 98:921a264297a4
merged the filesystem stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 17 Apr 2014 17:03:30 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@88 | 1 #ifndef PART_H_ |
nuclear@88 | 2 #define PART_H_ |
nuclear@88 | 3 |
nuclear@88 | 4 #include <inttypes.h> |
nuclear@88 | 5 |
nuclear@88 | 6 struct partition { |
nuclear@88 | 7 uint32_t start_sect; |
nuclear@88 | 8 size_t size_sect; |
nuclear@88 | 9 |
nuclear@88 | 10 unsigned int attr; |
nuclear@88 | 11 |
nuclear@88 | 12 struct partition *next; |
nuclear@88 | 13 }; |
nuclear@88 | 14 |
nuclear@88 | 15 struct partition *get_part_list(int devno); |
nuclear@88 | 16 void free_part_list(struct partition *plist); |
nuclear@88 | 17 |
nuclear@88 | 18 int get_part_type(struct partition *p); |
nuclear@88 | 19 |
nuclear@88 | 20 #endif /* PART_H_ */ |