Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 46) sorted by relevance

12

/curl/docs/examples/
H A Dmulti-uv.c58 curl_context_t *context; in create_curl_context() local
60 context = (curl_context_t *) malloc(sizeof(*context)); in create_curl_context()
62 context->sockfd = sockfd; in create_curl_context()
63 context->uv = uv; in create_curl_context()
66 context->poll_handle.data = context; in create_curl_context()
68 return context; in create_curl_context()
74 free(context); in curl_close_cb()
152 curl_multi_socket_action(context->uv->multi, context->sockfd, flags, in on_uv_socket()
154 check_multi_info(context); in on_uv_socket()
161 if(context) { in on_uv_timeout()
[all …]
H A Dhtmltitle.cpp141 Context *context = static_cast<Context *>(voidContext); in StartElement() local
144 context->title = ""; in StartElement()
145 context->addTitle = true; in StartElement()
157 Context *context = static_cast<Context *>(voidContext); in EndElement() local
160 context->addTitle = false; in EndElement()
167 static void handleCharacters(Context *context, in handleCharacters() argument
171 if(context->addTitle) in handleCharacters()
185 handleCharacters(context, chars, length); in Characters()
198 handleCharacters(context, chars, length); in cdata()
244 Context context; in parseHtml() local
[all …]
H A Dmulti-event.c48 curl_context_t *context; in create_curl_context() local
50 context = (curl_context_t *) malloc(sizeof(*context)); in create_curl_context()
52 context->sockfd = sockfd; in create_curl_context()
54 context->event = event_new(base, sockfd, 0, curl_perform, context); in create_curl_context()
56 return context; in create_curl_context()
59 static void destroy_curl_context(curl_context_t *context) in destroy_curl_context() argument
61 event_del(context->event); in destroy_curl_context()
62 event_free(context->event); in destroy_curl_context()
63 free(context); in destroy_curl_context()
128 curl_context_t *context; in curl_perform() local
[all …]
H A Dcrawler.c128 xmlXPathContextPtr context = xmlXPathNewContext(doc); in follow_links() local
129 xmlXPathObjectPtr result = xmlXPathEvalExpression(xpath, context); in follow_links()
130 xmlXPathFreeContext(context); in follow_links()
/curl/lib/
H A Dcurl_md5.h34 typedef CURLcode (*Curl_MD5_init_func)(void *context);
35 typedef void (*Curl_MD5_update_func)(void *context,
38 typedef void (*Curl_MD5_final_func)(unsigned char *result, void *context);
60 CURLcode Curl_MD5_update(struct MD5_context *context,
63 CURLcode Curl_MD5_final(struct MD5_context *context, unsigned char *result);
H A Dcurl_hmac.h35 typedef CURLcode (*HMAC_hinit)(void *context);
36 typedef void (*HMAC_hupdate)(void *context,
39 typedef void (*HMAC_hfinal)(unsigned char *result, void *context);
64 int Curl_HMAC_update(struct HMAC_context *context,
67 int Curl_HMAC_final(struct HMAC_context *context, unsigned char *result);
H A Dcurl_sha512_256.c117 Curl_sha512_256_init(void *context) in Curl_sha512_256_init() argument
149 Curl_sha512_256_update(void *context, in Curl_sha512_256_update() argument
173 void *context) in Curl_sha512_256_finish() argument
214 Curl_sha512_256_init(void *context) in Curl_sha512_256_init() argument
236 Curl_sha512_256_update(void *context, in Curl_sha512_256_update() argument
260 void *context) in Curl_sha512_256_finish() argument
429 MHDx_sha512_256_init(void *context) in MHDx_sha512_256_init() argument
631 MHDx_sha512_256_update(void *context, in MHDx_sha512_256_update() argument
709 void *context) in MHDx_sha512_256_finish() argument
821 Curl_sha512_256_update_i(void *context, in Curl_sha512_256_update_i() argument
[all …]
H A Dkrb5.c119 gss_ctx_id_t *context = app_data; in krb5_init() local
121 *context = GSS_C_NO_CONTEXT; in krb5_init()
139 gss_ctx_id_t *context = app_data; in krb5_decode() local
148 maj = gss_unwrap(&min, *context, &enc, &dec, NULL, NULL); in krb5_decode()
162 gss_ctx_id_t *context = app_data; in krb5_encode() local
173 maj = gss_wrap(&min, *context, in krb5_encode()
209 gss_ctx_id_t *context = app_data; in krb5_auth() local
269 *context = GSS_C_NO_CONTEXT; in krb5_auth()
279 context, in krb5_auth()
377 gss_ctx_id_t *context = app_data; in krb5_end() local
[all …]
H A Dcurl_gssapi.c53 gss_ctx_id_t *context, in Curl_gss_init_sec_context() argument
81 context, in Curl_gss_init_sec_context()
H A Dcurl_gssapi.h38 gss_ctx_id_t *context,
H A Dmd5.c629 CURLcode Curl_MD5_update(struct MD5_context *context, in Curl_MD5_update() argument
633 (*context->md5_hash->md5_update_func)(context->md5_hashctx, data, len); in Curl_MD5_update()
638 CURLcode Curl_MD5_final(struct MD5_context *context, unsigned char *result) in Curl_MD5_final() argument
640 (*context->md5_hash->md5_final_func)(result, context->md5_hashctx); in Curl_MD5_final()
642 free(context->md5_hashctx); in Curl_MD5_final()
643 free(context); in Curl_MD5_final()
/curl/lib/vauth/
H A Dkrb5_sspi.c102 CtxtHandle context; in Curl_auth_create_gssapi_user_message() local
171 krb5->context = calloc(1, sizeof(CtxtHandle)); in Curl_auth_create_gssapi_user_message()
172 if(!krb5->context) in Curl_auth_create_gssapi_user_message()
207 &context, in Curl_auth_create_gssapi_user_message()
217 if(memcmp(&context, krb5->context, sizeof(context))) { in Curl_auth_create_gssapi_user_message()
218 Curl_pSecFn->DeleteSecurityContext(krb5->context); in Curl_auth_create_gssapi_user_message()
220 memcpy(krb5->context, &context, sizeof(context)); in Curl_auth_create_gssapi_user_message()
450 if(krb5->context) { in Curl_auth_cleanup_gssapi()
451 Curl_pSecFn->DeleteSecurityContext(krb5->context); in Curl_auth_cleanup_gssapi()
452 free(krb5->context); in Curl_auth_cleanup_gssapi()
[all …]
H A Dntlm_sspi.c153 ntlm->context = calloc(1, sizeof(CtxtHandle)); in Curl_auth_create_ntlm_type1_message()
154 if(!ntlm->context) in Curl_auth_create_ntlm_type1_message()
174 ntlm->context, &type_1_desc, in Curl_auth_create_ntlm_type1_message()
178 Curl_pSecFn->CompleteAuthToken(ntlm->context, &type_1_desc); in Curl_auth_create_ntlm_type1_message()
309 ntlm->context, in Curl_auth_create_ntlm_type3_message()
313 0, ntlm->context, in Curl_auth_create_ntlm_type3_message()
345 if(ntlm->context) { in Curl_auth_cleanup_ntlm()
346 Curl_pSecFn->DeleteSecurityContext(ntlm->context); in Curl_auth_cleanup_ntlm()
347 free(ntlm->context); in Curl_auth_cleanup_ntlm()
348 ntlm->context = NULL; in Curl_auth_cleanup_ntlm()
H A Dspnego_sspi.c114 if(nego->context && nego->status == SEC_E_OK) { in Curl_auth_decode_spnego_message()
181 nego->context = calloc(1, sizeof(CtxtHandle)); in Curl_auth_decode_spnego_message()
182 if(!nego->context) in Curl_auth_decode_spnego_message()
247 chlg ? nego->context : NULL, in Curl_auth_decode_spnego_message()
252 0, nego->context, in Curl_auth_decode_spnego_message()
272 nego->status = (DWORD)Curl_pSecFn->CompleteAuthToken(nego->context, in Curl_auth_decode_spnego_message()
335 if(nego->context) { in Curl_auth_cleanup_spnego()
336 Curl_pSecFn->DeleteSecurityContext(nego->context); in Curl_auth_cleanup_spnego()
337 free(nego->context); in Curl_auth_cleanup_spnego()
338 nego->context = NULL; in Curl_auth_cleanup_spnego()
H A Dkrb5_gssapi.c137 &krb5->context, in Curl_auth_create_gssapi_user_message()
212 major_status = gss_unwrap(&minor_status, krb5->context, &input_token, in Curl_auth_create_gssapi_security_message()
276 major_status = gss_wrap(&minor_status, krb5->context, 0, in Curl_auth_create_gssapi_security_message()
312 if(krb5->context != GSS_C_NO_CONTEXT) { in Curl_auth_cleanup_gssapi()
313 gss_delete_sec_context(&minor_status, &krb5->context, GSS_C_NO_BUFFER); in Curl_auth_cleanup_gssapi()
314 krb5->context = GSS_C_NO_CONTEXT; in Curl_auth_cleanup_gssapi()
H A Dspnego_gssapi.c100 if(nego->context && nego->status == GSS_S_COMPLETE) { in Curl_auth_decode_spnego_message()
164 &nego->context, in Curl_auth_decode_spnego_message()
264 if(nego->context != GSS_C_NO_CONTEXT) { in Curl_auth_cleanup_spnego()
265 gss_delete_sec_context(&minor_status, &nego->context, GSS_C_NO_BUFFER); in Curl_auth_cleanup_spnego()
266 nego->context = GSS_C_NO_CONTEXT; in Curl_auth_cleanup_spnego()
/curl/docs/cmdline-opts/
H A Dproxy-pass.md21 Equivalent to --pass but used in HTTPS proxy context.
H A Dproxy-tlsv1.md20 Equivalent to --tlsv1 but for an HTTPS proxy context.
H A Dproxy-key.md21 proxy context.
H A Dproxy-ssl-auto-client-cert.md18 Same as --ssl-auto-client-cert but used in HTTPS proxy context.
H A Dproxy-crlfile.md23 Equivalent to --crlfile but only used in HTTPS proxy context.
H A Dproxy-tlspassword.md25 Equivalent to --tlspassword but used in HTTPS proxy context.
H A Dproxy-key-type.md22 Equivalent to --key-type but used in HTTPS proxy context.
H A Dproxy-tlsauthtype.md24 Equivalent to --tlsauthtype but used in HTTPS proxy context.
/curl/docs/libcurl/opts/
H A DCURLOPT_SSL_CTX_DATA.md22 CURLOPT_SSL_CTX_DATA - pointer passed to SSL context callback
34 Data *pointer* to pass to the ssl context callback set by the option

Completed in 75 milliseconds

12