1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 #ifndef LIBXATTR_H
24 #define LIBXATTR_H
25
26 #include <sys/types.h>
27 #include <stdlib.h>
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 char ** xattr_list(
const char *path,
ssize_t *nelm);
34
35 char * xattr_get(
const char *path,
const char *attr,
ssize_t *len);
36
37 int xattr_set(
const char *path,
const char *name,
const void *value,
size_t len);
38
39 int xattr_remove(
const char *path,
const char *name);
40
41 void xattr_free_list(
char **attrnames,
ssize_t nelm);
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif
48
49