summaryrefslogtreecommitdiffstats
path: root/libmount/src/libmount.h.in
diff options
context:
space:
mode:
authorKarel Zak2013-08-20 13:48:43 +0200
committerKarel Zak2013-08-20 13:48:43 +0200
commit686a64670e34250c8dce934d936ac63494d62076 (patch)
treecf334caac306cd4496cfa2d13d17cd021a4dcd6f /libmount/src/libmount.h.in
parentlibmount: add new function to docs (diff)
downloadkernel-qcow2-util-linux-686a64670e34250c8dce934d936ac63494d62076.tar.gz
kernel-qcow2-util-linux-686a64670e34250c8dce934d936ac63494d62076.tar.xz
kernel-qcow2-util-linux-686a64670e34250c8dce934d936ac63494d62076.zip
libmount: add mnt_table_{first,last}_fs()
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 c2aa4fa83..0a4f57a6c 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -429,6 +429,8 @@ extern int mnt_table_set_cache(struct libmnt_table *tb, struct libmnt_cache *mpc
extern struct libmnt_cache *mnt_table_get_cache(struct libmnt_table *tb);
extern int mnt_table_add_fs(struct libmnt_table *tb, struct libmnt_fs *fs);
extern int mnt_table_remove_fs(struct libmnt_table *tb, struct libmnt_fs *fs);
+extern int mnt_table_first_fs(struct libmnt_table *tb, struct libmnt_fs **fs);
+extern int mnt_table_last_fs(struct libmnt_table *tb, struct libmnt_fs **fs);
extern int mnt_table_next_fs(struct libmnt_table *tb, struct libmnt_iter *itr,
struct libmnt_fs **fs);
extern int mnt_table_next_child_fs(struct libmnt_table *tb, struct libmnt_iter *itr,