chiark / gitweb /
tree-wide: remove Lennart's copyright lines
[elogind.git] / src / basic / label.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <stdbool.h>
5 #include <sys/types.h>
6
7 typedef enum LabelFixFlags {
8         LABEL_IGNORE_ENOENT = 1 << 0,
9         LABEL_IGNORE_EROFS  = 1 << 1,
10 } LabelFixFlags;
11
12 int label_fix(const char *path, LabelFixFlags flags);
13
14 int mkdir_label(const char *path, mode_t mode);
15 #if 0 /// UNNEEDED by elogind
16 int symlink_label(const char *old_path, const char *new_path);
17
18 int btrfs_subvol_make_label(const char *path);
19 #endif // 0