]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: (probe) add magic hint
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 30 Sep 2023 21:55:31 +0000 (23:55 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 30 Sep 2023 22:18:24 +0000 (00:18 +0200)
commit803d3095df83f1e87372bf7b14f0041394458b0a
tree05e7df45a7c096a28b3809e84ebead0be90d4975
parent26c3e02a928493e2f51fd6f34f7bc2b2be282d51
libblkid: (probe) add magic hint

This hint can be used by the probing callback to make decision based on
the matched magic. This avoids a awkward memcmp() on the magic string.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/blkidP.h