summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2010-07-15 16:00:42 +0200
committerKarel Zak2011-01-03 12:28:40 +0100
commitb49103ed47580ecc94969d00ff4ebd5101fa53fd (patch)
tree634ea3787359ccefb4230755195784341f7a560c /shlibs/mount/src/mountP.h
parentlibmount: add mnt_get_writable_mtab_path() (diff)
downloadkernel-qcow2-util-linux-b49103ed47580ecc94969d00ff4ebd5101fa53fd.tar.gz
kernel-qcow2-util-linux-b49103ed47580ecc94969d00ff4ebd5101fa53fd.tar.xz
kernel-qcow2-util-linux-b49103ed47580ecc94969d00ff4ebd5101fa53fd.zip
libmount: add {start,end}swith() functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index 1de13917f..04876a0bf 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -67,6 +67,9 @@ extern int mnt_run_test(struct mtest *tests, int argc, char *argv[]);
/* utils.c */
extern char *mnt_getenv_safe(const char *arg);
+extern int endswith(const char *s, const char *sx);
+extern int startswith(const char *s, const char *sx);
+
extern char *mnt_get_username(const uid_t uid);
extern int mnt_has_regular_mtab(void);