]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
89a5a90c LP |
2 | #pragma once |
3 | ||
89a5a90c | 4 | #include <stdbool.h> |
11c3a366 | 5 | #include <stddef.h> |
89a5a90c LP |
6 | #include <sys/types.h> |
7 | ||
8 | #include "time-util.h" | |
9 | ||
10 | int getxattr_malloc(const char *path, const char *name, char **value, bool allow_symlink); | |
11 | int fgetxattr_malloc(int fd, const char *name, char **value); | |
12 | ||
e4de6259 ZJS |
13 | int fgetxattrat_fake( |
14 | int dirfd, | |
15 | const char *filename, | |
16 | const char *attribute, | |
17 | void *value, size_t size, | |
18 | int flags, | |
19 | size_t *ret_size); | |
89a5a90c LP |
20 | |
21 | int fd_setcrtime(int fd, usec_t usec); | |
22 | ||
23 | int fd_getcrtime(int fd, usec_t *usec); | |
24 | int path_getcrtime(const char *p, usec_t *usec); | |
25 | int fd_getcrtime_at(int dirfd, const char *name, usec_t *usec, int flags); |