Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 68) sorted by relevance

123

/curl/src/
H A Dtool_filetime.c36 int getfiletime(const char *filename, struct GlobalConfig *global, in getfiletime() argument
60 warnf(global, "Failed to get filetime: underflow"); in getfiletime()
67 warnf(global, "Failed to get filetime: " in getfiletime()
74 warnf(global, "Failed to get filetime: " in getfiletime()
85 warnf(global, "Failed to get filetime: %s", strerror(errno)); in getfiletime()
92 struct GlobalConfig *global) in setfiletime() argument
105 warnf(global, "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T in setfiletime()
123 warnf(global, "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T in setfiletime()
130 warnf(global, "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T in setfiletime()
140 warnf(global, "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T in setfiletime()
[all …]
H A Dtool_dirhie.c46 static void show_dir_errno(struct GlobalConfig *global, const char *name) in show_dir_errno() argument
51 errorf(global, "You do not have permission to create %s", name); in show_dir_errno()
56 errorf(global, "The directory name %s is too long", name); in show_dir_errno()
61 errorf(global, "%s resides on a read-only file system", name); in show_dir_errno()
66 errorf(global, "No space left on the file system that will " in show_dir_errno()
72 errorf(global, "Cannot create directory %s because you " in show_dir_errno()
77 errorf(global, "Error creating directory %s", name); in show_dir_errno()
97 CURLcode create_dir_hierarchy(const char *outfile, struct GlobalConfig *global) in create_dir_hierarchy() argument
153 show_dir_errno(global, dirbuildup); in create_dir_hierarchy()
H A Dvar.c57 void varcleanup(struct GlobalConfig *global) in varcleanup() argument
59 struct tool_var *list = global->variables; in varcleanup()
71 struct tool_var *list = global->variables; in varcontent()
95 static ParameterError varfunc(struct GlobalConfig *global, in varfunc() argument
184 errorf(global, "unknown variable function in '%.*s'", in varfunc()
207 ParameterError varexpand(struct GlobalConfig *global, in varexpand() argument
277 warnf(global, "bad variable name: %s", name); in varexpand()
368 p->next = global->variables; in addvariable()
369 global->variables = p; in addvariable()
377 ParameterError setvariable(struct GlobalConfig *global, in setvariable() argument
[all …]
H A Dtool_operate.c423 (void)global; in pre_transfer()
478 if(global->silent && !global->showerror) in post_per_transfer()
484 (!global->silent || global->showerror)) { in post_per_transfer()
496 if(!global->silent || global->showerror) in post_per_transfer()
960 global->noprogress || global->silent ? 1L : 0L); in config2setopts()
1424 !global->noprogress && !global->silent) { in config2setopts()
2321 hdrcbdata->global = global; in single_transfer()
2708 struct GlobalConfig *global = s->global; in check_finished() local
2786 s->global = global; in parallel_transfers()
3105 global->current = global->current->next; in create_transfer()
[all …]
H A Dtool_getparam.c1236 if(global->tracetype && (global->tracetype != TRACE_BIN)) in getparameter()
1247 if(global->tracetype && (global->tracetype != TRACE_ASCII)) in getparameter()
1248 warnf(global, in getparameter()
1417 warnf(global, in getparameter()
1577 warnf(global, in getparameter()
1948 warnf(global, in getparameter()
2290 warnf(global, in getparameter()
2411 warnf(global, in getparameter()
2525 if(global->tracetype && (global->tracetype != TRACE_PLAIN)) in getparameter()
2663 warnf(global, in getparameter()
[all …]
H A Dtool_main.c167 config->first->global = config; in main_init()
231 struct GlobalConfig global; in wmain() local
232 memset(&global, 0, sizeof(global)); in wmain()
249 errorf(&global, "(%d) Windows-specific init failed", result); in wmain()
255 errorf(&global, "out of file descriptors"); in wmain()
268 result = main_init(&global); in wmain()
271 result = operate(&global, argc, argv); in wmain()
274 main_free(&global); in wmain()
H A Dvar.h39 ParameterError setvariable(struct GlobalConfig *global, const char *input);
40 ParameterError varexpand(struct GlobalConfig *global,
45 void varcleanup(struct GlobalConfig *global);
H A Dtool_parsecfg.c50 int parseconfig(const char *filename, struct GlobalConfig *global) in parseconfig() argument
55 struct OperationConfig *operation = global->last; in parseconfig()
180 warnf(operation->global, "%s:%d: warning: '%s' uses unquoted " in parseconfig()
182 warnf(operation->global, "This may cause side-effects. " in parseconfig()
195 res = getparameter(option, param, NULL, &usedarg, global, operation); in parseconfig()
196 operation = global->last; in parseconfig()
211 operation->next->global = global; in parseconfig()
214 global->last = operation->next; in parseconfig()
236 errorf(operation->global, "%s:%d: '%s' %s", in parseconfig()
H A Dtool_setopt.h100 CURLcode tool_setopt(CURL *curl, bool str, struct GlobalConfig *global,
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)
111 SETOPT_CHECK(tool_setopt_enum(x, global, #y, y, setopt_nv_ ## y, z), y)
114 SETOPT_CHECK(tool_setopt_SSLVERSION(x, global, #y, y, z), y)
117 SETOPT_CHECK(tool_setopt_bitmask(x, global, #y, y, setopt_nv_ ## y, z), y)
120 SETOPT_CHECK(tool_setopt_mimepost(x, global, #y, y, z), y)
123 SETOPT_CHECK(tool_setopt_slist(x, global, #y, y, z), y)
125 #define res_setopt(x,y,z) tool_setopt(x, FALSE, global, config, #y, y, z)
127 #define res_setopt_str(x,y,z) tool_setopt(x, TRUE, global, config, #y, y, z)
H A Dtool_helpers.c100 warnf(config->global, "You can only select one HTTP request method! " in SetHTTPrequest()
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_cb_wrt.c55 struct GlobalConfig *global; in tool_create_output_file() local
60 global = config->global; in tool_create_output_file()
82 errorf(global, "overflow in filename generation"); in tool_create_output_file()
87 errorf(global, "out of memory"); in tool_create_output_file()
119 warnf(global, "Failed to open the file %s: %s", fname, in tool_create_output_file()
142 bool is_tty = config->global->isatty; in tool_write_cb()
159 warnf(config->global, "Header data size exceeds single call write " in tool_write_cb()
166 warnf(config->global, "Data size exceeds single call write limit"); in tool_write_cb()
195 warnf(config->global, "Invalid output struct data for write callback"); in tool_write_cb()
207 warnf(config->global, "Binary output can mess up your terminal. " in tool_write_cb()
H A Dtool_filetime.h30 int getfiletime(const char *filename, struct GlobalConfig *global,
36 struct GlobalConfig *global);
H A Dtool_stderr.c39 void tool_set_stderr_file(struct GlobalConfig *global, char *filename) in tool_set_stderr_file() argument
55 warnf(global, "Warning: Failed to open %s", filename); in tool_set_stderr_file()
H A Dtool_formparse.c559 warnf(config->global, "Cannot read from %s: %s", hdrfile, in get_param_part()
637 warnf(config->global, in get_param_part()
643 warnf(config->global, in get_param_part()
649 warnf(config->global, in get_param_part()
773 warnf(config->global, "no multipart to terminate"); 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()
888 warnf(config->global, in formparse()
[all …]
/curl/docs/libcurl/opts/
H A DCURLOPT_DNS_USE_GLOBAL_CACHE.md17 CURLOPT_DNS_USE_GLOBAL_CACHE - global DNS cache
32 Pass a long. If the *enable* value is 1, it tells curl to use a global DNS
34 thread-safe and this uses a global variable.
54 /* switch off the use of a global, thread unsafe, cache */
/curl/docs/cmdline-opts/
H A Dtrace-time.md7 Category: verbose global
9 Scope: global
H A Dshow-error.md7 Category: curl global
10 Scope: global
H A Dstderr.md7 Category: verbose global
10 Scope: global
H A Dtrace-ids.md7 Category: verbose global
9 Scope: global
H A Dlibcurl.md8 Category: curl global
10 Scope: global
H A Dparallel-max.md8 Category: connection curl global
10 Scope: global
H A Dstyled-output.md7 Category: verbose global
9 Scope: global
H A Dfail-early.md7 Category: curl global
9 Scope: global
32 is not global and is therefore contained by --next.
H A Dtrace-config.md7 Category: verbose global
10 Scope: global
/curl/lib/
H A Dlibcurl.vers.in3 global: curl_*;

Completed in 40 milliseconds

123