aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_hdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_cb_hdr.h')
-rw-r--r--src/tool_cb_hdr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tool_cb_hdr.h b/src/tool_cb_hdr.h
index 5909336e6..0300c0068 100644
--- a/src/tool_cb_hdr.h
+++ b/src/tool_cb_hdr.h
@@ -23,6 +23,16 @@
***************************************************************************/
#include "tool_setup.h"
+/* Structure to pass as userdata in tool_header_cb */
+typedef struct {
+ /* getout object pointer currently processing */
+ struct getout *urlnode;
+ /* output stream */
+ struct OutStruct *outs;
+ /* header output stream */
+ struct OutStruct *heads;
+} HeaderData;
+
/*
** callback for CURLOPT_HEADERFUNCTION
*/