diff options
author | Karel Zak | 2010-10-15 01:32:13 +0200 |
---|---|---|
committer | Karel Zak | 2010-10-15 01:32:13 +0200 |
commit | c76e710bc70bb89971c44e971e62793f34953d71 (patch) | |
tree | 4940d0d6d613485f60e78794b0cab4bcf65c3777 /shlibs/blkid/src/blkidP.h | |
parent | partx: integrate support for mac and sun partitions, based on kpartx. (diff) | |
download | kernel-qcow2-util-linux-c76e710bc70bb89971c44e971e62793f34953d71.tar.gz kernel-qcow2-util-linux-c76e710bc70bb89971c44e971e62793f34953d71.tar.xz kernel-qcow2-util-linux-c76e710bc70bb89971c44e971e62793f34953d71.zip |
libblkid: consolidate magic strings detection code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/blkidP.h')
-rw-r--r-- | shlibs/blkid/src/blkidP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h index 41eba9102..6ac8910cc 100644 --- a/shlibs/blkid/src/blkidP.h +++ b/shlibs/blkid/src/blkidP.h @@ -386,6 +386,9 @@ extern int blkid_probe_get_dimension(blkid_probe pr, extern int blkid_probe_set_dimension(blkid_probe pr, blkid_loff_t off, blkid_loff_t size); +extern int blkid_probe_get_idmag(blkid_probe pr, const struct blkid_idinfo *id, + blkid_loff_t *offset, const struct blkid_idmag **res); + /* returns superblok according to 'struct blkid_idmag' */ #define blkid_probe_get_sb(_pr, _mag, type) \ ((type *) blkid_probe_get_buffer((_pr),\ |