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