summaryrefslogtreecommitdiff
path: root/include/libattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libattr.h')
-rw-r--r--include/libattr.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/libattr.h b/include/libattr.h
new file mode 100644
index 0000000..bb8ce6f
--- /dev/null
+++ b/include/libattr.h
@@ -0,0 +1,21 @@
+#ifndef __LIBATTR_H
+#define __LIBATTR_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct error_context;
+
+extern int attr_copy_file (const char *, const char *,
+ int (*) (const char *name, struct error_context *),
+ struct error_context *);
+extern int attr_copy_fd (const char *, int, const char *, int,
+ int (*) (const char *, struct error_context *),
+ struct error_context *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif