rulimine/stage2/lib/part.h

19 lines
301 B
C
Raw Normal View History

2020-04-15 14:21:44 +03:00
#ifndef __LIB__PART_H__
#define __LIB__PART_H__
#include <stdint.h>
2020-10-18 07:23:39 +03:00
#include <stdbool.h>
#include <lib/blib.h>
2020-04-15 14:21:44 +03:00
struct part {
2020-10-18 07:23:39 +03:00
uint64_t first_sect;
uint64_t sect_count;
struct guid guid;
2020-04-15 14:21:44 +03:00
};
int get_part(struct part *part, int drive, int partition);
2020-10-18 07:23:39 +03:00
void part_create_index(void);
2020-04-15 14:21:44 +03:00
#endif