diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-08-17 14:33:44 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-08-17 14:50:46 -0400 |
commit | 60753094b35c0389e84a643757e1b35b8a94356e (patch) | |
tree | e7ddf291f404ba9a4a116f358dca5041fc3099a5 | |
parent | 9ca55798cd2763ab1dbd0c3164b92785a4d5695f (diff) |
src/shared/mkdir.h: add missing func prototype
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/shared/mkdir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h index bd7e2bcfe1..dc30bd6931 100644 --- a/src/shared/mkdir.h +++ b/src/shared/mkdir.h @@ -18,10 +18,15 @@ ***/ #pragma once +#include <sys/types.h> int mkdir_parents(const char *path, mode_t mode); int mkdir_p(const char *path, mode_t mode); +/* selinux versions */ +int mkdir_parents_label(const char *path, mode_t mode); + /* internally used */ typedef int (*mkdir_func_t)(const char *pathname, mode_t mode); +int mkdir_parents_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir); int mkdir_p_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir); |