diff options
author | Karel Zak | 2009-09-15 21:31:07 +0200 |
---|---|---|
committer | Karel Zak | 2009-09-16 10:39:49 +0200 |
commit | 46a734fd11fd079bd4ea450bc3a165d1df68a957 (patch) | |
tree | 01ca624322a0e5014b5be7fcc4eac51134c90ca0 /shlibs/blkid/src/blkidP.h | |
parent | libblkid: add functions for chain tags (diff) | |
download | kernel-qcow2-util-linux-46a734fd11fd079bd4ea450bc3a165d1df68a957.tar.gz kernel-qcow2-util-linux-46a734fd11fd079bd4ea450bc3a165d1df68a957.tar.xz kernel-qcow2-util-linux-46a734fd11fd079bd4ea450bc3a165d1df68a957.zip |
libblkid: add generic filter functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/blkidP.h')
-rw-r--r-- | shlibs/blkid/src/blkidP.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h index 4a7ddcfea..f6a6f90db 100644 --- a/shlibs/blkid/src/blkidP.h +++ b/shlibs/blkid/src/blkidP.h @@ -384,6 +384,12 @@ extern struct blkid_prval *blkid_probe_assign_value(blkid_probe pr, const char * extern void blkid_probe_append_vals(blkid_probe pr, struct blkid_prval *vals, int nvals); +extern unsigned long *blkid_probe_get_filter(blkid_probe pr, int chain, int create); +extern int __blkid_probe_invert_filter(blkid_probe pr, int chain); +extern int __blkid_probe_reset_filter(blkid_probe pr, int chain); +extern int __blkid_probe_filter_types(blkid_probe pr, int chain, int flag, char *names[]); + + extern int blkid_probe_set_value(blkid_probe pr, const char *name, unsigned char *data, size_t len); extern int blkid_probe_vsprintf_value(blkid_probe pr, const char *name, |