summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mount.h.in
diff options
context:
space:
mode:
authorKarel Zak2010-09-21 21:46:49 +0200
committerKarel Zak2011-01-03 12:28:42 +0100
commitaf903024535eaeddbd0574b75a5d19c9e39eafe2 (patch)
tree5bd083d52e270a87f243f9b2c0084fac7e7d0173 /shlibs/mount/src/mount.h.in
parentlibmount: add utils for work with uid/gid (diff)
downloadkernel-qcow2-util-linux-af903024535eaeddbd0574b75a5d19c9e39eafe2.tar.gz
kernel-qcow2-util-linux-af903024535eaeddbd0574b75a5d19c9e39eafe2.tar.xz
kernel-qcow2-util-linux-af903024535eaeddbd0574b75a5d19c9e39eafe2.zip
libmount: add routines for uid=, git= and context= translation
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.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/shlibs/mount/src/mount.h.in b/shlibs/mount/src/mount.h.in
index 42496ac78..6839da9e9 100644
--- a/shlibs/mount/src/mount.h.in
+++ b/shlibs/mount/src/mount.h.in
@@ -172,6 +172,10 @@ extern int mnt_split_optstr(const char *optstr,
extern int mnt_optstr_get_mountflags(const char *optstr, unsigned long *flags);
extern int mnt_optstr_get_userspace_mountflags(const char *optstr, unsigned long *flags);
+extern int mnt_optstr_translate_gid(char **optstr);
+extern int mnt_optstr_translate_uid(char **optstr);
+extern int mnt_optstr_translate_selinux(char **optstr, const char *name);
+
/* iter.c */
enum {