/curl/tests/unit/ |
H A D | unit1661.c | 28 static struct bufref bufref; variable 41 Curl_bufref_init(&bufref); in unit_setup() 47 Curl_bufref_free(&bufref); in unit_stop() 64 fail_unless(!bufref.len, "Initial length must be NULL"); 65 fail_unless(!bufref.dtor, "Destructor must be NULL"); 73 Curl_bufref_set(&bufref, buffer, 13, test_free); 76 fail_unless(bufref.len == 13, "Data size badly set"); 96 result = Curl_bufref_memdup(&bufref, "1661", 3); 100 buffer = (char *) Curl_bufref_ptr(&bufref); 110 Curl_bufref_free(&bufref); [all …]
|
/curl/lib/vauth/ |
H A D | vauth.h | 79 struct bufref *out); 89 CURLcode Curl_auth_create_cram_md5_message(const struct bufref *chlg, 92 struct bufref *out); 103 struct bufref *out); 135 const struct bufref *chlg, 137 struct bufref *out); 154 struct bufref *out); 166 struct bufref *out); 177 struct bufref *out); 182 struct bufref *out); [all …]
|
H A D | cleartext.c | 65 struct bufref *out) in Curl_auth_create_plain_message() 112 void Curl_auth_create_login_message(const char *valuep, struct bufref *out) in Curl_auth_create_login_message() 131 struct bufref *out) in Curl_auth_create_external_message()
|
H A D | oauth2.c | 64 struct bufref *out) in Curl_auth_create_oauth_bearer_message() 98 struct bufref *out) in Curl_auth_create_xoauth_bearer_message()
|
H A D | cram.c | 60 CURLcode Curl_auth_create_cram_md5_message(const struct bufref *chlg, in Curl_auth_create_cram_md5_message() 63 struct bufref *out) in Curl_auth_create_cram_md5_message()
|
H A D | krb5_gssapi.c | 86 const struct bufref *chlg, in Curl_auth_create_gssapi_user_message() 88 struct bufref *out) in Curl_auth_create_gssapi_user_message() 184 const struct bufref *chlg, in Curl_auth_create_gssapi_security_message() 186 struct bufref *out) in Curl_auth_create_gssapi_security_message()
|
H A D | gsasl.c | 99 const struct bufref *chlg, in Curl_auth_gsasl_token() 101 struct bufref *out) in Curl_auth_gsasl_token()
|
H A D | ntlm_sspi.c | 93 struct bufref *out) in Curl_auth_create_ntlm_type1_message() 203 const struct bufref *type2, in Curl_auth_decode_ntlm_type2_message() 247 struct bufref *out) in Curl_auth_create_ntlm_type3_message()
|
H A D | krb5_sspi.c | 97 const struct bufref *chlg, in Curl_auth_create_gssapi_user_message() 99 struct bufref *out) in Curl_auth_create_gssapi_user_message() 252 const struct bufref *chlg, in Curl_auth_create_gssapi_security_message() 254 struct bufref *out) in Curl_auth_create_gssapi_security_message()
|
H A D | ntlm.c | 159 const struct bufref *type2ref, in ntlm_decode_type2_target() 242 const struct bufref *type2ref, in Curl_auth_decode_ntlm_type2_message() 339 struct bufref *out) in Curl_auth_create_ntlm_type1_message() 458 struct bufref *out) in Curl_auth_create_ntlm_type3_message()
|
H A D | digest.c | 272 static CURLcode auth_decode_digest_md5_message(const struct bufref *chlgref, in auth_decode_digest_md5_message() 337 const struct bufref *chlg, in Curl_auth_create_digest_md5_message() 341 struct bufref *out) in Curl_auth_create_digest_md5_message()
|
H A D | digest_sspi.c | 93 const struct bufref *chlg, in Curl_auth_create_digest_md5_message() 97 struct bufref *out) in Curl_auth_create_digest_md5_message()
|
/curl/lib/ |
H A D | bufref.h | 30 struct bufref { struct 40 void Curl_bufref_init(struct bufref *br); argument 41 void Curl_bufref_set(struct bufref *br, const void *ptr, size_t len, 43 const unsigned char *Curl_bufref_ptr(const struct bufref *br); 44 size_t Curl_bufref_len(const struct bufref *br); 45 CURLcode Curl_bufref_memdup(struct bufref *br, const void *ptr, size_t len); 46 void Curl_bufref_free(struct bufref *br);
|
H A D | bufref.c | 38 void Curl_bufref_init(struct bufref *br) in Curl_bufref_init() 55 void Curl_bufref_free(struct bufref *br) in Curl_bufref_free() 73 void Curl_bufref_set(struct bufref *br, const void *ptr, size_t len, in Curl_bufref_set() 88 const unsigned char *Curl_bufref_ptr(const struct bufref *br) in Curl_bufref_ptr() 100 size_t Curl_bufref_len(const struct bufref *br) in Curl_bufref_len() 109 CURLcode Curl_bufref_memdup(struct bufref *br, const void *ptr, size_t len) in Curl_bufref_memdup()
|
H A D | curl_sasl.h | 101 const struct bufref *ir); 104 const struct bufref *contauth); 108 CURLcode (*getmessage)(struct Curl_easy *data, struct bufref *out);
|
H A D | curl_sasl.c | 274 struct bufref *out) in get_server_message() 297 static CURLcode build_message(struct SASL *sasl, struct bufref *msg) in build_message() 350 struct bufref resp; in Curl_sasl_start() 361 struct bufref nullmsg; in Curl_sasl_start() 538 struct bufref resp; in Curl_sasl_continue() 548 struct bufref serverdata; in Curl_sasl_continue()
|
H A D | http_ntlm.c | 90 struct bufref hdrbuf; in Curl_input_ntlm() 133 struct bufref ntlmmsg; in Curl_output_ntlm()
|
H A D | openldap.c | 107 const struct bufref *initresp); 109 const struct bufref *resp); 111 static CURLcode oldap_get_message(struct Curl_easy *data, struct bufref *out); 333 static CURLcode oldap_get_message(struct Curl_easy *data, struct bufref *out) in oldap_get_message() 347 const struct bufref *initresp) in oldap_perform_auth() 369 const struct bufref *resp) in oldap_continue_auth()
|
H A D | pop3.c | 108 const struct bufref *initresp); 110 const struct bufref *resp); 112 static CURLcode pop3_get_message(struct Curl_easy *data, struct bufref *out); 311 static CURLcode pop3_get_message(struct Curl_easy *data, struct bufref *out) in pop3_get_message() 542 const struct bufref *initresp) in pop3_perform_auth() 568 const struct bufref *resp) in pop3_continue_auth()
|
H A D | smtp.c | 109 const struct bufref *initresp); 111 const struct bufref *resp); 113 static CURLcode smtp_get_message(struct Curl_easy *data, struct bufref *out); 254 static CURLcode smtp_get_message(struct Curl_easy *data, struct bufref *out) in smtp_get_message() 433 const struct bufref *initresp) in smtp_perform_auth() 459 const struct bufref *resp) in smtp_continue_auth()
|
H A D | Makefile.inc | 114 bufref.c \ 247 bufref.h \
|
H A D | imap.c | 107 const struct bufref *initresp); 110 const struct bufref *resp); 113 static CURLcode imap_get_message(struct Curl_easy *data, struct bufref *out); 358 static CURLcode imap_get_message(struct Curl_easy *data, struct bufref *out) in imap_get_message() 548 const struct bufref *initresp) in imap_perform_authenticate() 573 const struct bufref *resp) in imap_continue_authenticate()
|
/curl/tests/data/ |
H A D | test1661 | 5 bufref 19 bufref unit tests
|
/curl/.github/scripts/ |
H A D | spellcheck.words | 76 bufref
|