Home
last modified time | relevance | path

Searched refs:userp (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/curl/lib/
Dhttp_negotiate.c46 const char *userp; in Curl_input_negotiate() local
57 userp = conn->http_proxy.user; in Curl_input_negotiate()
69 userp = conn->user; in Curl_input_negotiate()
79 if(!userp) in Curl_input_negotiate()
80 userp = ""; in Curl_input_negotiate()
111 result = Curl_auth_decode_spnego_message(data, userp, passwdp, service, in Curl_input_negotiate()
130 char *userp; in Curl_output_negotiate() local
170 userp = aprintf("%sAuthorization: Negotiate %s\r\n", proxy ? "Proxy-" : "", in Curl_output_negotiate()
175 data->state.aptr.proxyuserpwd = userp; in Curl_output_negotiate()
179 data->state.aptr.userpwd = userp; in Curl_output_negotiate()
[all …]
Dhttp_digest.c88 const char *userp; in Curl_output_digest() local
101 userp = data->state.aptr.proxyuser; in Curl_output_digest()
109 userp = data->state.aptr.user; in Curl_output_digest()
117 if(!userp) in Curl_output_digest()
118 userp = ""; in Curl_output_digest()
161 result = Curl_auth_create_digest_http_message(data, userp, passwdp, request, in Curl_output_digest()
Dhttp_ntlm.c141 const char *userp; in Curl_output_ntlm() local
158 userp = data->state.aptr.proxyuser; in Curl_output_ntlm()
172 userp = data->state.aptr.user; in Curl_output_ntlm()
184 if(!userp) in Curl_output_ntlm()
185 userp = ""; in Curl_output_ntlm()
213 result = Curl_auth_create_ntlm_type1_message(data, userp, passwdp, in Curl_output_ntlm()
234 result = Curl_auth_create_ntlm_type3_message(data, userp, passwdp, in Curl_output_ntlm()
Dcurl_ntlm_wb.c118 const char *userp) in ntlm_wb_init() argument
141 username = userp; in ntlm_wb_init()
164 username = userp; in ntlm_wb_init()
391 const char *userp; in Curl_output_ntlm_wb() local
404 userp = conn->http_proxy.user; in Curl_output_ntlm_wb()
414 userp = conn->user; in Curl_output_ntlm_wb()
422 if(!userp) in Curl_output_ntlm_wb()
423 userp = ""; in Curl_output_ntlm_wb()
442 res = ntlm_wb_init(data, ntlm, userp); in Curl_output_ntlm_wb()
Dformdata.c75 char *showfilename, char *userp, in AddHttpPost() argument
97 post->userp = userp; in AddHttpPost()
425 if(current_form->userp) in FormAdd()
428 char *userp = in FormAdd() local
430 if(userp) { in FormAdd()
431 current_form->userp = userp; in FormAdd()
432 current_form->value = userp; /* this isn't strictly true but we in FormAdd()
637 form->userp, in FormAdd()
906 fread_func, NULL, NULL, post->userp); in Curl_getformdata()
Dcf-h2-proxy.c295 int flags, void *userp);
298 void *userp);
302 void *userp);
306 uint32_t error_code, void *userp);
312 void *userp);
315 const uint8_t *mem, size_t len, void *userp);
539 void *userp) in on_session_send() argument
541 struct Curl_cfilter *cf = userp; in on_session_send()
642 void *userp) in proxy_h2_on_frame_send() argument
644 struct Curl_cfilter *cf = userp; in proxy_h2_on_frame_send()
[all …]
Dc-hyper.h41 size_t Curl_hyper_recv(void *userp, hyper_context *ctx,
43 size_t Curl_hyper_send(void *userp, hyper_context *ctx,
Dhttp2.c385 void *userp);
387 void *userp);
390 void *userp);
394 const uint8_t *mem, size_t len, void *userp);
396 uint32_t error_code, void *userp);
398 const nghttp2_frame *frame, void *userp);
403 void *userp);
405 size_t len, void *userp);
687 void *userp) in send_callback() argument
689 struct Curl_cfilter *cf = userp; in send_callback()
[all …]
/third_party/curl/lib/vauth/
Dvauth.h92 const char *userp,
102 const char *userp,
113 const char *userp,
131 const char *userp,
151 const char *userp,
165 const char *userp,
193 const char *userp,
Ddigest_sspi.c93 const char *userp, in Curl_auth_create_digest_md5_message() argument
146 if(userp && *userp) { in Curl_auth_create_digest_md5_message()
148 result = Curl_create_sspi_identity(userp, passwdp, &identity); in Curl_auth_create_digest_md5_message()
394 const char *userp, in Curl_auth_create_digest_http_message() argument
434 if((userp && !digest->user) || (!userp && digest->user) || in Curl_auth_create_digest_http_message()
436 (userp && digest->user && Curl_timestrcmp(userp, digest->user)) || in Curl_auth_create_digest_http_message()
491 if(userp && *userp) { in Curl_auth_create_digest_http_message()
493 if(Curl_create_sspi_identity(userp, passwdp, &identity)) { in Curl_auth_create_digest_http_message()
512 if(userp) { in Curl_auth_create_digest_http_message()
513 digest->user = strdup(userp); in Curl_auth_create_digest_http_message()
Dntlm_sspi.c88 const char *userp, in Curl_auth_create_ntlm_type1_message() argument
123 if(userp && *userp) { in Curl_auth_create_ntlm_type1_message()
127 result = Curl_create_sspi_identity(userp, passwdp, &ntlm->identity); in Curl_auth_create_ntlm_type1_message()
244 const char *userp, in Curl_auth_create_ntlm_type3_message() argument
262 (void) userp; in Curl_auth_create_ntlm_type3_message()
Ddigest.c337 const char *userp, in Curl_auth_create_digest_md5_message() argument
394 Curl_MD5_update(ctxt, (const unsigned char *) userp, in Curl_auth_create_digest_md5_message()
395 curlx_uztoui(strlen(userp))); in Curl_auth_create_digest_md5_message()
478 userp, realm, nonce, in Curl_auth_create_digest_md5_message()
671 const char *userp, in auth_create_digest_http_message() argument
716 hashthis = aprintf("%s:%s", userp, digest->realm ? digest->realm : ""); in auth_create_digest_http_message()
736 hashthis = aprintf("%s:%s:%s", userp, digest->realm ? digest->realm : "", in auth_create_digest_http_message()
821 userp_quoted = auth_digest_string_quoted(digest->userhash ? userh : userp); in auth_create_digest_http_message()
947 const char *userp, in Curl_auth_create_digest_http_message() argument
955 return auth_create_digest_http_message(data, userp, passwdp, in Curl_auth_create_digest_http_message()
[all …]
Dntlm.c338 const char *userp, in Curl_auth_create_ntlm_type1_message() argument
370 (void)userp; in Curl_auth_create_ntlm_type1_message()
459 const char *userp, in Curl_auth_create_ntlm_type3_message() argument
505 user = strchr(userp, '\\'); in Curl_auth_create_ntlm_type3_message()
507 user = strchr(userp, '/'); in Curl_auth_create_ntlm_type3_message()
510 domain = userp; in Curl_auth_create_ntlm_type3_message()
515 user = userp; in Curl_auth_create_ntlm_type3_message()
Dcram.c61 const char *userp, in Curl_auth_create_cram_md5_message() argument
87 userp, digest[0], digest[1], digest[2], digest[3], digest[4], in Curl_auth_create_cram_md5_message()
/third_party/curl/tests/libtest/
Dlib1540.c37 static int please_continue(void *userp, in please_continue() argument
43 struct transfer_status *st = (struct transfer_status *)userp; in please_continue()
60 void *userp) in header_callback() argument
63 (void)userp; in header_callback()
68 static size_t write_callback(void *ptr, size_t size, size_t nmemb, void *userp) in write_callback() argument
70 struct transfer_status *st = (struct transfer_status *)userp; in write_callback()
Dlib1915.c55 void *userp) in hstsread() argument
59 struct state *s = (struct state *)userp; in hstsread()
77 void *userp) in hstsreadfail() argument
81 (void)userp; in hstsreadfail()
87 struct curl_index *i, void *userp) in hstswrite() argument
90 (void)userp; in hstswrite()
Dlib654.c37 static void free_callback(void *userp) in free_callback() argument
39 struct WriteThis *pooh = (struct WriteThis *) userp; in free_callback()
44 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
46 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
Dlib554.c37 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
43 (void)userp; in read_callback()
47 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
/third_party/curl/docs/examples/
Dhsts-preload.c50 void *userp) in hstsread() argument
54 struct state *s = (struct state *)userp; in hstsread()
71 struct curl_index *i, void *userp) in hstswrite() argument
74 (void)userp; /* we have no custom input */ in hstswrite()
Dhttp2-pushinmemory.c45 write_cb(void *contents, size_t size, size_t nmemb, void *userp) in write_cb() argument
48 struct Memory *mem = (struct Memory *)userp; in write_cb()
100 void *userp) in server_push_callback() argument
103 int *transfers = (int *)userp; in server_push_callback()
Dhttp2-serverpush.c95 void *userp) in my_trace() argument
99 (void)userp; in my_trace()
168 void *userp) in server_push_callback() argument
172 int *transfers = (int *)userp; in server_push_callback()
Dhttp2-upload.c110 void *userp) in my_trace() argument
114 struct input *i = (struct input *)userp; in my_trace()
163 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
165 struct input *i = userp; in read_callback()
/third_party/curl/lib/vquic/
Dvquic.c337 vquic_recv_pkt_cb *recv_cb, void *userp) in recvmmsg_packets() argument
395 0, userp); in recvmmsg_packets()
413 vquic_recv_pkt_cb *recv_cb, void *userp) in recvmsg_packets() argument
462 0, userp); in recvmsg_packets()
479 vquic_recv_pkt_cb *recv_cb, void *userp) in recvfrom_packets() argument
522 0, userp); in recvfrom_packets()
539 vquic_recv_pkt_cb *recv_cb, void *userp) in vquic_recv_packets() argument
543 result = recvmmsg_packets(cf, data, qctx, max_pkts, recv_cb, userp); in vquic_recv_packets()
545 result = recvmsg_packets(cf, data, qctx, max_pkts, recv_cb, userp); in vquic_recv_packets()
547 result = recvfrom_packets(cf, data, qctx, max_pkts, recv_cb, userp); in vquic_recv_packets()
/third_party/curl/tests/http/clients/
Dh2-serverpush.c97 void *userp) in my_trace() argument
101 (void)userp; in my_trace()
164 void *userp) in server_push_callback() argument
168 int *transfers = (int *)userp; in server_push_callback()
/third_party/curl/docs/libcurl/
Dcurl_formget.md21 int curl_formget(struct curl_httppost * form, void *userp,
28 accepts a void pointer as second argument named *userp* which is passed as
32 typedef size_t (*curl_formget_callback)(void *userp, const char *buf,

12345