summaryrefslogtreecommitdiffstats
path: root/libmount/src/libmount.h.in
diff options
context:
space:
mode:
authorKarel Zak2011-06-23 16:06:27 +0200
committerKarel Zak2011-06-23 16:06:27 +0200
commit2576b4e7821339f79bc25660f86291b55c0c6486 (patch)
tree98ce8e58f7eabc379a811df968d4a3a9b3e55ab4 /libmount/src/libmount.h.in
parentlibmount: cleanup return codes in mount sample (diff)
downloadkernel-qcow2-util-linux-2576b4e7821339f79bc25660f86291b55c0c6486.tar.gz
kernel-qcow2-util-linux-2576b4e7821339f79bc25660f86291b55c0c6486.tar.xz
kernel-qcow2-util-linux-2576b4e7821339f79bc25660f86291b55c0c6486.zip
libmount: allow to convert /dev/loopN to backing filename
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r--libmount/src/libmount.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index 111b3a683..160c7049d 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -148,6 +148,8 @@ extern char *mnt_resolve_tag(const char *token, const char *value,
struct libmnt_cache *cache);
extern char *mnt_resolve_spec(const char *spec, struct libmnt_cache *cache);
+extern char *mnt_pretty_path(const char *path, struct libmnt_cache *cache);
+
/* optstr.c */
extern int mnt_optstr_next_option(char **optstr, char **name, size_t *namesz,
char **value, size_t *valuesz);