Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 169) sorted by relevance

1234567

/curl/src/
H A Dtool_cfgable.c37 config->use_httpget = FALSE; in config_init()
38 config->create_dirs = FALSE; in config_init()
46 config->ftp_skip_ip = TRUE; in config_init()
57 Curl_safefree(config->hsts); in free_config_fields()
99 urlnode = config->url_list; in free_config_fields()
108 config->url_list = NULL; in free_config_fields()
109 config->url_last = NULL; in free_config_fields()
110 config->url_get = NULL; in free_config_fields()
111 config->url_out = NULL; in free_config_fields()
164 config->mimepost = NULL; in free_config_fields()
[all …]
H A Dtool_getparam.c1384 config->url_get = config->url_list; in getparameter()
1390 config->url_get = config->url_get->next; in getparameter()
1400 config->url_get = url = new_getout(config); in getparameter()
2325 config->url_out = config->url_list; in getparameter()
2330 config->url_out = config->url_out->next; in getparameter()
2342 config->url_out = url = new_getout(config); in getparameter()
2458 config->url_ul = config->url_list; in getparameter()
2463 config->url_ul = config->url_ul->next; in getparameter()
2473 config->url_ul = url = new_getout(config); in getparameter()
2742 config->next->prev = config; in parse_args()
[all …]
H A Dtool_operate.c460 struct OperationConfig *config = per->config; in post_per_transfer() local
845 if(config->cert && !config->cert_type && is_pkcs11_uri(config->cert)) { in set_cert_types()
853 if(config->key && !config->key_type && is_pkcs11_uri(config->key)) { in set_cert_types()
1015 else if(config->netrc || config->netrc_file) in config2setopts()
1207 if(config->proxy_capath || config->capath) { in config2setopts()
1225 if(!config->cacert && !config->capath) { in config2setopts()
1362 if(config->no_body || config->remote_time) { in config2setopts()
1415 customrequest_helper(config, config->httpreq, config->customrequest); in config2setopts()
2030 per->config = config; in single_transfer()
2322 hdrcbdata->config = config; in single_transfer()
[all …]
H A Dtool_main.c156 config->first = config->last = malloc(sizeof(struct OperationConfig)); in main_init()
157 if(config->first) { in main_init()
167 config->first->global = config; in main_init()
171 free(config->first); in main_init()
176 free(config->first); in main_init()
191 if(config->trace_fopened && config->trace_stream) in free_globalconfig()
193 config->trace_stream = NULL; in free_globalconfig()
207 free_globalconfig(config); in main_free()
210 config_free(config->last); in main_free()
211 config->first = NULL; in main_free()
[all …]
H A Dtool_msgs.c39 static void voutf(struct GlobalConfig *config,
44 static void voutf(struct GlobalConfig *config, in voutf() argument
51 if(!config->silent) { in voutf()
95 void notef(struct GlobalConfig *config, const char *fmt, ...) in notef() argument
99 if(config->tracetype) in notef()
100 voutf(config, NOTE_PREFIX, fmt, ap); in notef()
108 void warnf(struct GlobalConfig *config, const char *fmt, ...) in warnf() argument
112 voutf(config, WARN_PREFIX, fmt, ap); in warnf()
142 void errorf(struct GlobalConfig *config, const char *fmt, ...) in errorf() argument
144 if(!config->silent || config->showerror) { in errorf()
[all …]
H A Dtool_cb_rea.c49 struct OperationConfig *config = per->config; in tool_read_cb() local
57 if(config->timeout_ms) { in tool_read_cb()
61 if(msdelta > config->timeout_ms) in tool_read_cb()
70 long wait = config->timeout_ms - msdelta; in tool_read_cb()
88 config->readbusy = TRUE; in tool_read_cb()
98 warnf(per->config->global, "File size larger in the end than when " in tool_read_cb()
103 config->readbusy = FALSE; in tool_read_cb()
118 struct OperationConfig *config = per->config; in tool_readbusy_cb() local
125 if(config->readbusy) { in tool_readbusy_cb()
147 config->readbusy = FALSE; in tool_readbusy_cb()
H A Dtool_paramhlp.h29 struct getout *new_getout(struct OperationConfig *config);
47 ParameterError proto2num(struct OperationConfig *config,
55 CURLcode get_args(struct OperationConfig *config, const size_t i);
59 int ftpfilemethod(struct OperationConfig *config, const char *str);
61 int ftpcccmethod(struct OperationConfig *config, const char *str);
63 long delegation(struct OperationConfig *config, const char *str);
H A Dtool_cb_dbg.c110 if(config->tracetime) { in tool_debug_cb()
118 if(handle && config->traceids && in tool_debug_cb()
132 if(!config->trace_stream) { in tool_debug_cb()
134 if(!strcmp("-", config->trace_dump)) in tool_debug_cb()
135 config->trace_stream = stdout; in tool_debug_cb()
140 config->trace_stream = fopen(config->trace_dump, FOPEN_WRITETEXT); in tool_debug_cb()
141 config->trace_fopened = TRUE; in tool_debug_cb()
145 if(config->trace_stream) in tool_debug_cb()
146 output = config->trace_stream; in tool_debug_cb()
196 if(!config->isatty || in tool_debug_cb()
[all …]
H A Dtool_cb_wrt.c59 DEBUGASSERT(config); in tool_create_output_file()
60 global = config->global; in tool_create_output_file()
63 if(config->file_clobber_mode == CLOBBER_ALWAYS || in tool_create_output_file()
64 (config->file_clobber_mode == CLOBBER_DEFAULT && in tool_create_output_file()
140 struct OperationConfig *config = per->config; in tool_write_cb() local
142 bool is_tty = config->global->isatty; in tool_write_cb()
157 if(config->show_headers) { in tool_write_cb()
210 config->synthetic_error = TRUE; in tool_write_cb()
360 if(config->readbusy) { in tool_write_cb()
361 config->readbusy = FALSE; in tool_write_cb()
[all …]
H A Dtool_paramhlp.c45 struct getout *last = config->url_last; in new_getout()
53 config->url_list = node; /* first node */ in new_getout()
56 config->url_last = node; in new_getout()
58 node->flags = config->default_node_flags; in new_getout()
671 bool last = (config->next ? FALSE : TRUE); in get_args()
673 if(config->jsoned) { in get_args()
686 if(config->userpwd && !config->oauth_bearer) { in get_args()
693 if(config->proxyuserpwd) { in get_args()
700 if(!config->useragent) { in get_args()
701 config->useragent = my_useragent(); in get_args()
[all …]
H A Dtool_helpers.c83 int SetHTTPrequest(struct OperationConfig *config, HttpReq req, HttpReq *store) in SetHTTPrequest() argument
100 warnf(config->global, "You can only select one HTTP request method! " in SetHTTPrequest()
107 void customrequest_helper(struct OperationConfig *config, HttpReq req, in customrequest_helper() argument
123 notef(config->global, "Unnecessary use of -X or --request, %s is already " in customrequest_helper()
127 warnf(config->global, in customrequest_helper()
H A Dtool_formparse.c202 if(sip->config) { in tool_mime_stdin_read()
204 sip->config = NULL; in tool_mime_stdin_read()
637 warnf(config->global, in get_param_part()
643 warnf(config->global, in get_param_part()
649 warnf(config->global, in get_param_part()
758 sep = get_param_part(config, '\0', in formparse()
812 part->config = config->global; in formparse()
818 warnf(config->global, in formparse()
849 part->config = config->global; in formparse()
855 warnf(config->global, in formparse()
[all …]
H A Dtool_msgs.h29 void warnf(struct GlobalConfig *config, const char *fmt, ...)
31 void notef(struct GlobalConfig *config, const char *fmt, ...)
35 void errorf(struct GlobalConfig *config, const char *fmt, ...)
H A Dtool_setopt.h82 CURLcode tool_setopt_enum(CURL *curl, struct GlobalConfig *config,
85 CURLcode tool_setopt_SSLVERSION(CURL *curl, struct GlobalConfig *config,
88 CURLcode tool_setopt_flags(CURL *curl, struct GlobalConfig *config,
91 CURLcode tool_setopt_bitmask(CURL *curl, struct GlobalConfig *config,
94 CURLcode tool_setopt_mimepost(CURL *curl, struct GlobalConfig *config,
97 CURLcode tool_setopt_slist(CURL *curl, struct GlobalConfig *config,
101 struct OperationConfig *config,
105 SETOPT_CHECK(tool_setopt(x, FALSE, global, config, #y, y, z), y)
108 SETOPT_CHECK(tool_setopt(x, TRUE, global, config, #y, y, z), y)
125 #define res_setopt(x,y,z) tool_setopt(x, FALSE, global, config, #y, y, z)
[all …]
/curl/tests/server/
H A Dsocksd.c137 static struct configurable config; variable
154 config.reqcmd = CONFIG_REQCMD; in resetdefaults()
156 config.port = CONFIG_PORT; in resetdefaults()
158 strcpy(config.user, "user"); in resetdefaults()
326 if(!config.port) in socks4()
330 s4port = config.port; in socks4()
402 config.nmethods_min, config.nmethods_max); in sockit()
573 if(!config.port) { in sockit()
578 s5port = config.port; in sockit()
580 if(!config.connectrep) in sockit()
[all …]
/curl/.github/workflows/
H A Dconfigure-vs-cmake.yml15 - '.github/scripts/cmp-config.pl'
26 - '.github/scripts/cmp-config.pl'
48 run: cat bld-am/config.log 2>/dev/null || true
59 - name: compare generated curl-config files
60 run: ./.github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
88 run: cat bld-am/config.log 2>/dev/null || true
99 - name: compare generated curl-config files
100 run: ./.github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
126 run: cat bld-am/config.log 2>/dev/null || true
137 - name: compare generated curl-config files
[all …]
/curl/
H A D.gitignore41 config.cache
42 config.guess
43 config.log
44 config.status
45 config.sub
51 curl-config
67 tests/config
/curl/tests/data/
H A Dtest20805 config
21 config file with overly long option
24 -K %LOGDIR/config%TESTNUMBER file://de\>v/null
26 <file name="%LOGDIR/config%TESTNUMBER">
34 # the used option in the config file is too long
H A Dtest4595 --config
35 config file with argument using whitespace missing quotes
37 <file name="%LOGDIR/config">
41 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --config %LOGDIR/config --silent
59 Warning: %LOGDIR/config:1: warning: 'data' uses unquoted whitespace
H A Dtest4326 --config
40 <file1 name="%LOGDIR/config%TESTNUMBER">
49 config = "%LOGDIR/config%TESTNUMBER-c"
51 <file2 name="%LOGDIR/config%TESTNUMBER-c">
62 Use -K with --next and --config from within
65 -K %LOGDIR/config%TESTNUMBER
H A Dtest4306 --config
40 <file1 name="%LOGDIR/config%TESTNUMBER-a">
46 <file2 name="%LOGDIR/config%TESTNUMBER-b">
52 <file3 name="%LOGDIR/config%TESTNUMBER-c">
66 -K %LOGDIR/config%TESTNUMBER-a -K %LOGDIR/config%TESTNUMBER-b -K %LOGDIR/config%TESTNUMBER-c
H A Dtest10144 curl-config
20 Compare curl --version with curl-config --features
31 %SRCDIR/libtest/test1013.pl ../curl-config %LOGDIR/stdout%TESTNUMBER features
/curl/docs/cmdline-opts/
H A Ddisable.md11 - config
18 If used as the **first** parameter on the command line, the *curlrc* config
19 file is not read or used. See the --config for details on the default config
H A Dconfig.md4 Long: config
6 Help: Read config from a file
14 - --config file.txt $URL
17 # `--config`
25 optionally be given in the config file without the initial double dashes and
35 If the first non-blank column of a config line is a '#' character, that line
38 Only write one option per physical line in the config file. A single line is
41 Specify the filename to --config as minus "-" to make curl read the file from
44 Note that to be able to specify a URL in the config file, you need to specify
63 config file and uses it if found, even when --config is used. The default
[all …]
/curl/lib/
H A DMakefile.am31 EXTRA_DIST = Makefile.mk config-win32.h config-win32ce.h config-plan9.h \
32 config-riscos.h config-mac.h curl_config.h.in config-dos.h libcurl.rc \
33 config-amigaos.h config-win32ce.h config-os400.h setup-os400.h \

Completed in 46 milliseconds

1234567