diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-12-14 22:55:00 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-12-20 07:43:15 +0100 |
commit | b82c5c109c8545da1c4fea46e102aef25896c0e4 (patch) | |
tree | 154916c4b2b00ade49c14054c8e1b50cfd7c1b37 /CMakeLists.txt | |
parent | 12851d6b3a3883b8470ba3f8c18024dec51e2847 (diff) | |
download | fstools-b82c5c109c8545da1c4fea46e102aef25896c0e4.tar.gz |
libblkid-tiny: add functions for allocating & freeing probe struct
This adds blkid_new_probe() and blkid_free_probe() which have to be used
in place of simple struct memory allocation. They will allow extending
probe struct by any extra initialization code and resources release.
Newly introduced probe.c file is based on original libblkid's code.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f13c4f..a586577 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ ADD_LIBRARY(blkid-tiny SHARED libblkid-tiny/encode.c libblkid-tiny/libblkid-tiny.c libblkid-tiny/mkdev.c + libblkid-tiny/probe.c libblkid-tiny/ext.c libblkid-tiny/jffs2.c libblkid-tiny/vfat.c |