diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2019-02-11 19:10:41 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2019-02-11 19:10:41 +0100 |
commit | cac0e4a6ad14b42471ebc62e82ecdb7dad164702 (patch) | |
tree | 46e38a8e2da72fd2b621982f882dd6b1969a6161 /src/tool_cfgable.h | |
parent | b75fb9b5a6ee02beb9e2c6ed43556603f4ef64cf (diff) |
cli tool: do not use mime.h private structures.
Option -F generates an intermediate representation of the mime structure
that is used later to create the libcurl mime structure and generate
the --libcurl statements.
Reported-by: Daniel Stenberg
Fixes #3532
Closes #3546
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r-- | src/tool_cfgable.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index 81680dbbb..0ebe947ae 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -27,6 +27,8 @@ #include "tool_metalink.h" +#include "tool_formparse.h" + typedef enum { ERR_NONE, ERR_BINARY_TERMINAL = 1, /* binary to terminal detected */ @@ -176,8 +178,8 @@ struct OperationConfig { curl_off_t condtime; struct curl_slist *headers; struct curl_slist *proxyheaders; - curl_mime *mimepost; - curl_mime *mimecurrent; + tool_mime *mimepost; + tool_mime *mimecurrent; struct curl_slist *telnet_options; struct curl_slist *resolve; struct curl_slist *connect_to; |