/curl/packages/OS400/ |
H A D | curlmain.c | 46 extern int main_a(int argc, char * * argv); 53 int main(int argc, char **argv) in main() argument 70 ebcdic_argv = argv; in main() 77 inbuf = argv[i]; in main() 91 argv = (char **) malloc((argc + 1) * sizeof(*argv) + bytecount); in main() 94 outbuf = (char *) (argv + argc + 1); in main() 98 argv[i] = outbuf; in main() 106 argv[argc] = NULL; in main() 112 i = main_a(argc, argv); in main() 115 free((char *) argv); in main()
|
H A D | curlcl.c | 59 size_t *argc, char **argv, in parse_command_line() argument 79 if(argv) in parse_command_line() 80 *argv++ = argbuf; in parse_command_line() 122 if(argv) in parse_command_line() 123 *argv = NULL; in parse_command_line() 133 char **argv; in main() local 156 argv = (char **) malloc((argc + 1) * sizeof(*argv) + argsize); in main() 157 if(!argv) { in main() 166 &argc, argv, &argsize, (char *) (argv + argc + 1)); in main() 169 _CALLPGMV((void *) &pgmptr, argv, argc); in main() [all …]
|
/curl/docs/examples/ |
H A D | chkspeed.c | 64 int main(int argc, char *argv[]) in main() argument 70 char *appname = argv[0]; in main() 74 for(argc--, argv++; *argv; argc--, argv++) { in main() 75 if(argv[0][0] == '-') { in main() 76 switch(argv[0][1]) { in main() 102 if(argv[0][2] == '=') { in main() 103 long m = strtol((*argv) + 3, NULL, 10); in main() 128 appname, *argv + 3); in main() 134 appname, *argv); in main() 138 appname, *argv); in main() [all …]
|
H A D | synctime.c | 259 int main(int argc, char *argv[]) in main() argument 273 if(strncmp(argv[OptionIndex], "--server=", 9) == 0) in main() 274 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]); in main() 276 if(strcmp(argv[OptionIndex], "--showall") == 0) in main() 279 if(strcmp(argv[OptionIndex], "--synctime") == 0) in main() 282 if(strncmp(argv[OptionIndex], "--proxy-user=", 13) == 0) in main() 283 snprintf(conf->proxy_user, MAX_STRING, "%s", &argv[OptionIndex][13]); in main() 285 if(strncmp(argv[OptionIndex], "--proxy=", 8) == 0) in main() 286 snprintf(conf->http_proxy, MAX_STRING, "%s", &argv[OptionIndex][8]); in main() 288 if((strcmp(argv[OptionIndex], "--help") == 0) || in main() [all …]
|
H A D | url2file.c | 39 int main(int argc, char *argv[]) in main() argument 46 printf("Usage: %s <URL>\n", argv[0]); in main() 56 curl_easy_setopt(curl_handle, CURLOPT_URL, argv[1]); in main()
|
H A D | href_extractor.c | 55 int main(int argc, char *argv[]) in main() argument 62 printf("Usage: %s URL\n", argv[0]); in main() 76 curl_easy_setopt(curl, CURLOPT_URL, argv[1]); in main()
|
H A D | httpput.c | 61 int main(int argc, char **argv) in main() argument 74 file = argv[1]; in main() 75 url = argv[2]; in main()
|
H A D | anyauthput.c | 83 int main(int argc, char **argv) in main() argument 96 file = argv[1]; in main() 97 url = argv[2]; in main()
|
H A D | httpput-postfields.c | 50 int main(int argc, char **argv) in main() argument 59 url = argv[1]; in main()
|
H A D | sslbackend.c | 43 int main(int argc, char **argv) in main() argument 45 const char *name = argc > 1 ? argv[1] : "openssl"; in main()
|
H A D | threaded-ssl.c | 71 int main(int argc, char **argv) in main() argument 76 (void)argv; in main()
|
H A D | postit2-formadd.c | 50 int main(int argc, char *argv[]) in main() argument 93 if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) in main()
|
H A D | postit2.c | 46 int main(int argc, char *argv[]) in main() argument 83 if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) in main()
|
H A D | htmltidy.c | 77 int main(int argc, char **argv) in main() argument 88 curl_easy_setopt(curl, CURLOPT_URL, argv[1]); in main() 127 printf("usage: %s <url>\n", argv[0]); in main()
|
H A D | htmltitle.cpp | 257 int main(int argc, char *argv[]) in main() argument 266 fprintf(stderr, "Usage: %s <url>\n", argv[0]); in main() 274 if(!init(conn, argv[1])) { in main() 285 fprintf(stderr, "Failed to get '%s' [%s]\n", argv[1], errorBuffer); in main()
|
/curl/tests/server/ |
H A D | resolve.c | 63 int main(int argc, char *argv[]) in main() argument 70 if(!strcmp("--version", argv[arg])) { in main() 80 else if(!strcmp("--ipv6", argv[arg])) { in main() 85 else if(!strcmp("--ipv4", argv[arg])) { in main() 92 host = argv[arg++]; in main()
|
H A D | testpart.c | 33 int main(int argc, char **argv) in main() argument 42 int rc = getpart(&part, &partlen, argv[1], argv[2], stdin); in main()
|
H A D | disabled.c | 119 int main(int argc, char **argv) in main() argument 124 (void) argv; in main()
|
H A D | socksd.c | 954 int main(int argc, char *argv[]) in main() argument 972 if(!strcmp("--version", argv[arg])) { in main() 985 pidname = argv[arg++]; in main() 990 portname = argv[arg++]; in main() 995 configfile = argv[arg++]; in main() 1000 backendaddr = argv[arg++]; in main() 1010 serverlogfile = argv[arg++]; in main() 1015 reqlogfile = argv[arg++]; in main() 1017 else if(!strcmp("--ipv6", argv[arg])) { in main() 1024 else if(!strcmp("--ipv4", argv[arg])) { in main() [all …]
|
H A D | mqttd.c | 925 int main(int argc, char *argv[]) in main() argument 938 if(!strcmp("--version", argv[arg])) { in main() 951 pidname = argv[arg++]; in main() 956 portname = argv[arg++]; in main() 961 configfile = argv[arg++]; in main() 966 serverlogfile = argv[arg++]; in main() 971 logdir = argv[arg++]; in main() 973 else if(!strcmp("--ipv6", argv[arg])) { in main() 980 else if(!strcmp("--ipv4", argv[arg])) { in main() 993 if((endptr != argv[arg] + strlen(argv[arg])) || in main() [all …]
|
H A D | sockfilt.c | 1353 int main(int argc, char *argv[]) in main() argument 1370 if(!strcmp("--version", argv[arg])) { in main() 1387 pidname = argv[arg++]; in main() 1392 portname = argv[arg++]; in main() 1397 serverlogfile = argv[arg++]; in main() 1399 else if(!strcmp("--ipv6", argv[arg])) { in main() 1406 else if(!strcmp("--ipv4", argv[arg])) { in main() 1418 else if(!strcmp("--port", argv[arg])) { in main() 1434 if((endptr != argv[arg] + strlen(argv[arg])) || in main() 1437 argv[arg]); in main() [all …]
|
/curl/packages/vms/ |
H A D | report_openssl_version.c | 43 int main(int argc, char **argv) in main() argument 54 libptr = dlopen(argv[1], 0); in main() 82 symbol_dsc.dsc$a_pointer = argv[2]; in main() 83 symbol_dsc.dsc$w_length = strlen(argv[2]); in main()
|
/curl/tests/libtest/ |
H A D | first.c | 137 int main(int argc, char **argv) in main() argument 164 test_argv = argv; in main() 180 test_name = argv[basearg - 1]; in main() 211 libtest_arg2 = argv[basearg + 1]; in main() 214 libtest_arg3 = argv[basearg + 2]; in main() 216 URL = argv[basearg]; /* provide this to the rest */ in main()
|
/curl/tests/http/clients/ |
H A D | ws-pingpong.c | 125 int main(int argc, char *argv[]) in main() argument 136 url = argv[1]; in main() 137 payload = argv[2]; in main() 162 (void)argv; in main()
|
/curl/src/ |
H A D | tool_main.c | 225 int wmain(int argc, wchar_t *argv[]) in wmain() argument 227 int main(int argc, char *argv[]) in wmain() 239 if(argc == 2 && !_tcscmp(argv[1], _T("--dump-module-paths"))) { in wmain() 271 result = operate(&global, argc, argv); in wmain()
|