1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright 2010 Lennart Poettering
10 #include <sys/types.h>
12 #include "time-util.h"
14 int getxattr_malloc(const char *path, const char *name, char **value, bool allow_symlink);
15 int fgetxattr_malloc(int fd, const char *name, char **value);
17 #if 0 /// UNNEEDED by elogind
21 const char *attribute,
22 void *value, size_t size,
26 int fd_setcrtime(int fd, usec_t usec);
28 int fd_getcrtime(int fd, usec_t *usec);
29 int path_getcrtime(const char *p, usec_t *usec);
30 int fd_getcrtime_at(int dirfd, const char *name, usec_t *usec, int flags);