1#include "global.h"
2
3/*
4 * external detection functions
5 */
6void detect_dos_partmap(SECTION *section);
7void detect_gpt_partmap(SECTION *section);
8
9
10/*
11 * internal stuff
12 */
13
14/*
15 * analyze a given source
16 */
17
18void analyze_source(SOURCE *s)
19{
20  SECTION section;
21
22  section.source = s;
23  section.pos = 0;
24  section.size = s->size_known ? s->size : 0;
25  section.flags = 0;
26  detect_dos_partmap(&section);
27  detect_gpt_partmap(&section);
28}
29
30/* EOF */
31