summaryrefslogtreecommitdiff
path: root/src/tool_writeout.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-04 23:07:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2012-04-01 23:52:05 +0200
commitddfe821bcf9522247cd057b12b8a1b0af01f2d37 (patch)
treebd91e6acfeced5bcf9306bb11cedb630df4d819e /src/tool_writeout.h
parent54866b68cd71070a62f517ec6722dc60384b4b5f (diff)
downloadcurl-ddfe821bcf9522247cd057b12b8a1b0af01f2d37.tar.gz
curl tool: add filename_effective token for --write-out
By modifying the parameter list for ourWriteOut() and passing the OutStruct that collects data in tool_operate, we get access to the remote name that we're writing to. Shell scripters should find this useful when used in conjuntion with the --remote-header-name option.
Diffstat (limited to 'src/tool_writeout.h')
-rw-r--r--src/tool_writeout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_writeout.h b/src/tool_writeout.h
index 815cfcfff..23447496c 100644
--- a/src/tool_writeout.h
+++ b/src/tool_writeout.h
@@ -23,6 +23,6 @@
***************************************************************************/
#include "setup.h"
-void ourWriteOut(CURL *curl, const char *out);
+void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo);
#endif /* HEADER_CURL_TOOL_WRITEOUT_H */