/curl/docs/examples/ |
H A D | multi-uv.c | 58 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 D | htmltitle.cpp | 141 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 D | multi-event.c | 48 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 D | crawler.c | 128 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 D | curl_md5.h | 34 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 D | curl_hmac.h | 35 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 D | curl_sha512_256.c | 117 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 D | krb5.c | 119 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 D | curl_gssapi.c | 53 gss_ctx_id_t *context, in Curl_gss_init_sec_context() argument 81 context, in Curl_gss_init_sec_context()
|
H A D | curl_gssapi.h | 38 gss_ctx_id_t *context,
|
H A D | md5.c | 629 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 D | krb5_sspi.c | 102 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 D | ntlm_sspi.c | 153 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 D | spnego_sspi.c | 114 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 D | krb5_gssapi.c | 137 &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 D | spnego_gssapi.c | 100 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 D | proxy-pass.md | 21 Equivalent to --pass but used in HTTPS proxy context.
|
H A D | proxy-tlsv1.md | 20 Equivalent to --tlsv1 but for an HTTPS proxy context.
|
H A D | proxy-key.md | 21 proxy context.
|
H A D | proxy-ssl-auto-client-cert.md | 18 Same as --ssl-auto-client-cert but used in HTTPS proxy context.
|
H A D | proxy-crlfile.md | 23 Equivalent to --crlfile but only used in HTTPS proxy context.
|
H A D | proxy-tlspassword.md | 25 Equivalent to --tlspassword but used in HTTPS proxy context.
|
H A D | proxy-key-type.md | 22 Equivalent to --key-type but used in HTTPS proxy context.
|
H A D | proxy-tlsauthtype.md | 24 Equivalent to --tlsauthtype but used in HTTPS proxy context.
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_SSL_CTX_DATA.md | 22 CURLOPT_SSL_CTX_DATA - pointer passed to SSL context callback 34 Data *pointer* to pass to the ssl context callback set by the option
|