summaryrefslogtreecommitdiff
path: root/src/tool_writeout_json.h
diff options
context:
space:
mode:
authoranio <anio@users.noreply.github.com>2020-09-09 15:05:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2020-09-15 00:37:08 +0200
commit0c1e767e83ec669d213868db8887e19386f717b2 (patch)
tree9f8031b570594919bc3c9ab888c64d4ade14534f /src/tool_writeout_json.h
parent4e66207c580bbf2e05968aa1b99ce7388a3b55c1 (diff)
downloadcurl-0c1e767e83ec669d213868db8887e19386f717b2.tar.gz
tool_writeout: add new writeout variable, %{num_headers}
This variable gives the number of headers. Closes #5947
Diffstat (limited to 'src/tool_writeout_json.h')
-rw-r--r--src/tool_writeout_json.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_writeout_json.h b/src/tool_writeout_json.h
index d3988d521..0390ae5c8 100644
--- a/src/tool_writeout_json.h
+++ b/src/tool_writeout_json.h
@@ -24,7 +24,7 @@
#include "tool_setup.h"
#include "tool_writeout.h"
-void ourWriteOutJSON(const struct writeoutvar mappings[],
- CURL *curl, struct OutStruct *outs, FILE *stream);
+void ourWriteOutJSON(const struct writeoutvar mappings[], CURL *curl,
+ struct per_transfer *per, FILE *stream);
#endif /* HEADER_CURL_TOOL_WRITEOUT_H */