summaryrefslogtreecommitdiffstats
path: root/include/filetype.h
diff options
context:
space:
mode:
authorHubert Feurstein <h.feurstein@gmail.com>2013-04-19 10:46:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-29 09:32:54 +0200
commitc06956e15f8fb32d46e479950719c30bae57e5bb (patch)
treef52e3c182e13be25387c3a408996e3d41ea3ae6c /include/filetype.h
parent57c64582a029c75e21c5e4347ca3e59255af90fe (diff)
downloadbarebox-c06956e15f8fb32d46e479950719c30bae57e5bb.tar.gz
common/filetype: move partition-table detection into own function
Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/filetype.h')
-rw-r--r--include/filetype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/filetype.h b/include/filetype.h
index 78ca5d2..ee777ac 100644
--- a/include/filetype.h
+++ b/include/filetype.h
@@ -31,6 +31,7 @@ enum filetype {
const char *file_type_to_string(enum filetype f);
const char *file_type_to_short_string(enum filetype f);
+enum filetype file_detect_partition_table(const void *_buf, size_t bufsize);
enum filetype file_detect_type(const void *_buf, size_t bufsize);
enum filetype file_name_detect_type(const char *filename);
enum filetype is_fat_or_mbr(const unsigned char *sector, unsigned long *bootsec);