Home
last modified time | relevance | path

Searched refs:authstring (Results 1 – 6 of 6) sorted by relevance

/external/libcups/cups/
Dgetputfile.c92 digest = http->authstring && !strncmp(http->authstring, "Digest ", 7); in cupsGetFd()
104 if (http->authstring && !strncmp(http->authstring, "Negotiate", 9) && !new_auth) in cupsGetFd()
115 httpSetField(http, HTTP_FIELD_AUTHORIZATION, http->authstring); in cupsGetFd()
341 http->authstring)); in cupsPutFd()
347 digest = http->authstring && !strncmp(http->authstring, "Digest ", 7); in cupsPutFd()
359 if (http->authstring && !strncmp(http->authstring, "Negotiate", 9) && !new_auth) in cupsPutFd()
370 httpSetField(http, HTTP_FIELD_AUTHORIZATION, http->authstring); in cupsPutFd()
Dauth.c155 http->authstring)); in cupsDoAuthentication()
280 if (http->authstring) in cupsDoAuthentication()
282 DEBUG_printf(("1cupsDoAuthentication: authstring=\"%s\"", http->authstring)); in cupsDoAuthentication()
455 if ((http->authstring = malloc((size_t)authsize)) == NULL) in _cupsSetNegotiateAuthString()
457 http->authstring = http->_authstring; in _cupsSetNegotiateAuthString()
461 strlcpy(http->authstring, "Negotiate ", (size_t)authsize); in _cupsSetNegotiateAuthString()
462 httpEncode64_2(http->authstring + 10, authsize - 10, output_token.value, in _cupsSetNegotiateAuthString()
995 http->authstring)); in cups_local_auth()
1040 http->authstring)); in cups_local_auth()
1100 http->authstring)); in cups_local_auth()
Drequest.c191 if (http->authstring && !strncmp(http->authstring, "Local ", 6)) in cupsDoIORequest()
687 digest = http->authstring && !strncmp(http->authstring, "Digest ", 7); in cupsSendRequest()
699 if (http->authstring && !strncmp(http->authstring, "Negotiate", 9)) in cupsSendRequest()
710 httpSetField(http, HTTP_FIELD_AUTHORIZATION, http->authstring); in cupsSendRequest()
712 DEBUG_printf(("2cupsSendRequest: authstring=\"%s\"", http->authstring)); in cupsSendRequest()
Dhttp.c395 if (http->authstring && http->authstring != http->_authstring) in httpClose()
396 free(http->authstring); in httpClose()
792 return (http->authstring); in httpGetAuthString()
2504 if (http->authstring && http->authstring != http->_authstring) in httpSetAuthString()
2505 free(http->authstring); in httpSetAuthString()
2507 http->authstring = http->_authstring; in httpSetAuthString()
2523 http->authstring = temp; in httpSetAuthString()
2527 snprintf(http->authstring, len, "%s %s", scheme, data); in httpSetAuthString()
2529 strlcpy(http->authstring, scheme, len); in httpSetAuthString()
4501 if (http->field_authorization && http->authstring && in http_send()
[all …]
Dtesthttp.c735 if (http->authstring && !strncmp(http->authstring, "Digest ", 7) && !new_auth) in main()
836 if (http->authstring && !strncmp(http->authstring, "Digest ", 7) && !new_auth) in main()
Dhttp-private.h329 char *authstring; /* Current Authorization field */ member