1
2
3
4
5
6
7
8
9
10
11#ifndef __AA_PATH_H
12#define __AA_PATH_H
13
14enum path_flags {
15 PATH_IS_DIR = 0x1,
16 PATH_CONNECT_PATH = 0x4,
17 PATH_CHROOT_REL = 0x8,
18 PATH_CHROOT_NSCONNECT = 0x10,
19
20 PATH_DELEGATE_DELETED = 0x08000,
21 PATH_MEDIATE_DELETED = 0x10000,
22};
23
24int aa_path_name(const struct path *path, int flags, char *buffer,
25 const char **name, const char **info,
26 const char *disconnected);
27
28#define IN_ATOMIC true
29char *aa_get_buffer(bool in_atomic);
30void aa_put_buffer(char *buf);
31
32#endif
33