/curl/lib/ |
H A D | noproxy.c | 175 const char *token; in Curl_check_noproxy() local 183 token = p; in Curl_check_noproxy() 194 if(token[tokenlen - 1] == '.') in Curl_check_noproxy() 197 if(tokenlen && (*token == '.')) { in Curl_check_noproxy() 199 token++; in Curl_check_noproxy() 208 match = strncasecompare(token, name, namelen); in Curl_check_noproxy() 212 strncasecompare(token, name + (namelen - tokenlen), in Curl_check_noproxy() 219 const char *check = token; in Curl_check_noproxy()
|
H A D | curl_trc.c | 265 char *token, *tok_buf, *tmp; in Curl_trc_opt() local 273 token = strtok_r(tmp, ", ", &tok_buf); in Curl_trc_opt() 274 while(token) { in Curl_trc_opt() 275 switch(*token) { in Curl_trc_opt() 278 ++token; in Curl_trc_opt() 282 ++token; in Curl_trc_opt() 289 if(strcasecompare(token, "all")) { in Curl_trc_opt() 292 else if(strcasecompare(token, cf_types[i]->name)) { in Curl_trc_opt() 298 if(strcasecompare(token, "all")) { in Curl_trc_opt() 301 else if(strcasecompare(token, trc_feats[i]->name)) { in Curl_trc_opt() [all …]
|
H A D | system_win32.c | 277 HANDLE token = NULL; in Curl_win32_impersonating() local 278 if(OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &token)) { in Curl_win32_impersonating() 279 CloseHandle(token); in Curl_win32_impersonating()
|
H A D | setopt.c | 198 const char *token = str; in protocol2num() local 202 tlen = str? (size_t) (str - token): strlen(token); in protocol2num() 204 const struct Curl_handler *h = Curl_getn_scheme_handler(token, tlen); in protocol2num()
|
/curl/lib/vauth/ |
H A D | digest.c | 223 char *token; in auth_digest_get_qop_values() local 235 token = strtok_r(tmp, ",", &tok_buf); in auth_digest_get_qop_values() 236 while(token) { in auth_digest_get_qop_values() 237 if(strcasecompare(token, DIGEST_QOP_VALUE_STRING_AUTH)) in auth_digest_get_qop_values() 244 token = strtok_r(NULL, ",", &tok_buf); in auth_digest_get_qop_values() 509 char *token = NULL; in Curl_auth_decode_digest_http_message() local 561 token = strtok_r(tmp, ",", &tok_buf); in Curl_auth_decode_digest_http_message() 562 while(token) { in Curl_auth_decode_digest_http_message() 564 while(*token && ISBLANK(*token)) in Curl_auth_decode_digest_http_message() 565 token++; in Curl_auth_decode_digest_http_message() [all …]
|
/curl/tests/libtest/ |
H A D | stub_gssapi.c | 96 char *token = NULL; in gss_init_sec_context() local 212 token = malloc(length); in gss_init_sec_context() 213 if(!token) { in gss_init_sec_context() 222 used = (size_t) snprintf(token, length, "%s:%s:%d:", creds, in gss_init_sec_context() 226 free(token); in gss_init_sec_context() 233 memset(token + used, 'A', length - used); in gss_init_sec_context() 237 output_token->value = token; in gss_init_sec_context()
|
/curl/src/ |
H A D | tool_paramhlp.c | 372 char *token; in proto2num() local 404 for(token = strtok(buffer, sep); in proto2num() 405 token; in proto2num() 406 token = strtok(NULL, sep)) { in proto2num() 410 while(!ISALNUM(*token)) { /* may be NULL if token is all modifiers */ in proto2num() 411 switch(*token++) { in proto2num() 428 if(curl_strequal(token, "all")) { in proto2num() 441 const char *p = proto_token(token); in proto2num() 460 warnf(config->global, "unrecognized protocol '%s'", token); in proto2num()
|
H A D | tool_getparam.c | 960 char *token, *tmp, *name; in set_trace_config() local 969 token = strtok(tmp, ", "); in set_trace_config() 970 while(token) { in set_trace_config() 971 switch(*token) { in set_trace_config() 974 name = token + 1; in set_trace_config() 978 name = token + 1; in set_trace_config() 982 name = token; in set_trace_config() 989 result = curl_global_trace(token); in set_trace_config() 1000 result = curl_global_trace(token); in set_trace_config() 1004 token = strtok(NULL, ", "); in set_trace_config()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_XOAUTH2_BEARER.md | 20 CURLOPT_XOAUTH2_BEARER - OAuth 2.0 access token 27 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_XOAUTH2_BEARER, char *token);
|
H A D | CURLOPT_NETRC.md | 86 file for a machine token that matches the hostname specified in the URL. Once 93 can be only one default token, and it must be after all machine tokens. To 105 Supply a password. If this token is present, curl supplies the specified 107 Note that if this token is present in the .netrc file you really should make
|
H A D | CURLOPT_HTTPAUTH.md | 64 HTTP Bearer token authentication, used primarily in OAuth 2.0 protocol. 66 You can set the Bearer token to use with CURLOPT_XOAUTH2_BEARER(3).
|
/curl/.github/workflows/ |
H A D | label.yml | 26 repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
/curl/docs/cmdline-opts/ |
H A D | oauth2-bearer.md | 6 Arg: <token>
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 673 uint8_t *token, size_t cidlen, in cb_get_new_connection_id() argument 685 result = Curl_rand(NULL, token, NGTCP2_STATELESS_RESET_TOKENLEN); in cb_get_new_connection_id() 974 int32_t token, nghttp3_rcbuf *name, in cb_h3_recv_header() argument 988 (void)token; in cb_h3_recv_header() 996 if(token == NGHTTP3_QPACK_TOKEN__STATUS) { in cb_h3_recv_header()
|
H A D | curl_osslq.c | 829 int32_t token, nghttp3_rcbuf *name, in cb_h3_recv_header() argument 843 (void)token; in cb_h3_recv_header() 851 if(token == NGHTTP3_QPACK_TOKEN__STATUS) { in cb_h3_recv_header()
|
/curl/CMake/ |
H A D | PickyWarnings.cmake | 123 -Wlanguage-extension-token # clang 3.0
|
/curl/docs/libcurl/ |
H A D | curl_easy_setopt.md | 512 OAuth2 bearer token. See CURLOPT_XOAUTH2_BEARER(3)
|
/curl/m4/ |
H A D | curl-compilers.m4 | 845 CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token])
|