aboutsummaryrefslogtreecommitdiff
path: root/src/xattr.h
diff options
context:
space:
mode:
authorStefan Tomanek <stefan.tomanek@wertarbyte.de>2010-11-05 12:39:46 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-11-05 13:59:10 +0100
commitfbf51696ef1435cf358943c671ac55944ccec26c (patch)
tree1098fbb75838685a5f0d8b1b5471c510a8f8abe1 /src/xattr.h
parent1786950759a0429bde29822c3c879fdbf305f24d (diff)
save metadata to extended file attributes
It is often convinient to track back the source of a once downloaded file; this patch makes curl store the source URL and other metadata alongside the retrieved file by using the extended attributes (if supported by the file system and enabled by --xattr).
Diffstat (limited to 'src/xattr.h')
-rw-r--r--src/xattr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xattr.h b/src/xattr.h
new file mode 100644
index 000000000..30673973c
--- /dev/null
+++ b/src/xattr.h
@@ -0,0 +1 @@
+int write_xattr( CURL *curl, const char *filename );