#include "tool_setup.h"#include "strcase.h"#include "curlx.h"#include "tool_binmode.h"#include "tool_cfgable.h"#include "tool_cb_dbg.h"#include "tool_cb_hdr.h"#include "tool_cb_prg.h"#include "tool_cb_rea.h"#include "tool_cb_see.h"#include "tool_cb_wrt.h"#include "tool_dirhie.h"#include "tool_doswin.h"#include "tool_easysrc.h"#include "tool_getparam.h"#include "tool_helpers.h"#include "tool_homedir.h"#include "tool_libinfo.h"#include "tool_main.h"#include "tool_metalink.h"#include "tool_msgs.h"#include "tool_operate.h"#include "tool_operhlp.h"#include "tool_paramhlp.h"#include "tool_parsecfg.h"#include "tool_setopt.h"#include "tool_sleep.h"#include "tool_urlglob.h"#include "tool_util.h"#include "tool_writeenv.h"#include "tool_writeout.h"#include "tool_xattr.h"#include "tool_vms.h"#include "tool_help.h"#include "tool_hugehelp.h"#include "memdebug.h"
Go to the source code of this file.
Defines | |
| #define | CURL_CA_CERT_ERRORMSG1 |
| #define | CURL_CA_CERT_ERRORMSG2 |
| #define | CURLseparator "--_curl_--" |
| #define | ENABLE_CURLX_PRINTF |
| #define | O_BINARY 0 |
Functions | |
| static bool | is_fatal_error (CURLcode code) |
| CURLcode | operate (struct GlobalConfig *config, int argc, argv_item_t argv[]) |
| static CURLcode | operate_do (struct GlobalConfig *global, struct OperationConfig *config) |
| #define CURL_CA_CERT_ERRORMSG1 |
"More details here: https://curl.haxx.se/docs/sslcerts.html\n\n" \ "curl performs SSL certificate verification by default, " \ "using a \"bundle\"\n" \ " of Certificate Authority (CA) public keys (CA certs). If the default\n" \ " bundle file isn't adequate, you can specify an alternate file\n" \ " using the --cacert option.\n"
Definition at line 100 of file tool_operate.c.
| #define CURL_CA_CERT_ERRORMSG2 |
"If this HTTPS server uses a certificate signed by a CA represented in\n" \ " the bundle, the certificate verification probably failed due to a\n" \ " problem with the certificate (it might be expired, or the name might\n" \ " not match the domain name in the URL).\n" \ "If you'd like to turn off curl's verification of the certificate, use\n" \ " the -k (or --insecure) option.\n"
Definition at line 108 of file tool_operate.c.
| #define CURLseparator "--_curl_--" |
Definition at line 92 of file tool_operate.c.
| #define ENABLE_CURLX_PRINTF |
Definition at line 48 of file tool_operate.c.
| #define O_BINARY 0 |
Definition at line 97 of file tool_operate.c.
| static bool is_fatal_error | ( | CURLcode | code | ) | [static] |
Definition at line 116 of file tool_operate.c.
| CURLcode operate | ( | struct GlobalConfig * | config, |
| int | argc, | ||
| argv_item_t | argv[] | ||
| ) |
Definition at line 1888 of file tool_operate.c.
| static CURLcode operate_do | ( | struct GlobalConfig * | global, |
| struct OperationConfig * | config | ||
| ) | [static] |
Definition at line 191 of file tool_operate.c.