#ifndef LIBXATTR_H
#define LIBXATTR_H
#include <sys/types.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
char ** xattr_list(const char *path, ssize_t *nelm);
char * xattr_get(const char *path, const char *attr, ssize_t *len);
int xattr_set(const char *path, const char *name, const void *value, size_t len);
int xattr_remove(const char *path, const char *name);
void xattr_free_list(char **attrnames, ssize_t nelm);
#ifdef __cplusplus
}
#endif
#endif