diff options
author | Karel Zak | 2010-10-06 23:25:15 +0200 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:45 +0100 |
commit | 059c696f3e6d2982b30fb70c36ae7d1859a5cb91 (patch) | |
tree | e41a964935d6d3a43bbb116592d88912724aa529 /shlibs/mount/src/mount.h.in | |
parent | libmount: allows to swap source and target (diff) | |
download | kernel-qcow2-util-linux-059c696f3e6d2982b30fb70c36ae7d1859a5cb91.tar.gz kernel-qcow2-util-linux-059c696f3e6d2982b30fb70c36ae7d1859a5cb91.tar.xz kernel-qcow2-util-linux-059c696f3e6d2982b30fb70c36ae7d1859a5cb91.zip |
libmount: add mnt_tab_find_pair()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mount.h.in')
-rw-r--r-- | shlibs/mount/src/mount.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shlibs/mount/src/mount.h.in b/shlibs/mount/src/mount.h.in index 3890dd4f2..43f81080d 100644 --- a/shlibs/mount/src/mount.h.in +++ b/shlibs/mount/src/mount.h.in @@ -276,6 +276,8 @@ extern mnt_fs *mnt_tab_find_srcpath(mnt_tab *tb, const char *path, int direction extern mnt_fs *mnt_tab_find_tag(mnt_tab *tb, const char *tag, const char *val, int direction); extern mnt_fs *mnt_tab_find_source(mnt_tab *tb, const char *source, int direction); +extern mnt_fs *mnt_tab_find_pair(mnt_tab *tb, const char *source, + const char *target, int direction); extern int mnt_tab_find_next_fs(mnt_tab *tb, mnt_iter *itr, int (*match_func)(mnt_fs *, void *), void *userdata, |