summaryrefslogtreecommitdiffstats
path: root/libmount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2013-01-09 18:05:08 +0100
committerKarel Zak2013-01-09 18:05:08 +0100
commitfd73f46830fb14ef1da158b47241ee7673b905cd (patch)
tree1098d58a9ea80bdc07e80a87b91d73256bf27652 /libmount/src/mountP.h
parentmount: document x-* options (diff)
downloadkernel-qcow2-util-linux-fd73f46830fb14ef1da158b47241ee7673b905cd.tar.gz
kernel-qcow2-util-linux-fd73f46830fb14ef1da158b47241ee7673b905cd.tar.xz
kernel-qcow2-util-linux-fd73f46830fb14ef1da158b47241ee7673b905cd.zip
libmount; add recursive mkdir
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r--libmount/src/mountP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h
index dca70accb..5f2f780dc 100644
--- a/libmount/src/mountP.h
+++ b/libmount/src/mountP.h
@@ -131,6 +131,9 @@ extern int endswith(const char *s, const char *sx)
__attribute__((nonnull));
extern int startswith(const char *s, const char *sx)
__attribute__((nonnull));
+
+extern int mkdir_p(const char *path, mode_t mode);
+
extern int mnt_is_readonly(const char *path)
__attribute__((nonnull));