diff options
author | Karel Zak | 2009-09-15 21:27:54 +0200 |
---|---|---|
committer | Karel Zak | 2009-09-16 10:04:26 +0200 |
commit | 9bdf688541df79d2a0885a6d2f7ca4836360efa9 (patch) | |
tree | 7f2de9f968b01431e188fb170fa5d14cb6628175 /shlibs/blkid/src/blkidP.h | |
parent | libblkid: add chain structs (diff) | |
download | kernel-qcow2-util-linux-9bdf688541df79d2a0885a6d2f7ca4836360efa9.tar.gz kernel-qcow2-util-linux-9bdf688541df79d2a0885a6d2f7ca4836360efa9.tar.xz kernel-qcow2-util-linux-9bdf688541df79d2a0885a6d2f7ca4836360efa9.zip |
libblkid: add functions for chain tags
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/blkidP.h')
-rw-r--r-- | shlibs/blkid/src/blkidP.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h index 2eb9d4eb8..4a7ddcfea 100644 --- a/shlibs/blkid/src/blkidP.h +++ b/shlibs/blkid/src/blkidP.h @@ -376,6 +376,14 @@ unsigned char *blkid_probe_get_buffer(blkid_probe pr, ((type *) blkid_probe_get_buffer((_pr),\ (_mag)->kboff << 10, sizeof(type))) + +extern void blkid_probe_chain_reset_vals(blkid_probe pr, struct blkid_chain *chn); +extern int blkid_probe_chain_copy_vals(blkid_probe pr, struct blkid_chain *chn, + struct blkid_prval *vals, int nvals); +extern struct blkid_prval *blkid_probe_assign_value(blkid_probe pr, const char *name); +extern void blkid_probe_append_vals(blkid_probe pr, struct blkid_prval *vals, int nvals); + + 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, |