]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: add a Curl_bufref_uptr() function and use it
authorPatrick Monnerat <patrick@monnerat.net>
Wed, 3 Dec 2025 17:36:03 +0000 (18:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Dec 2025 15:17:21 +0000 (16:17 +0100)
commitf39b8a11749dba677848ea1e7d2ed20f23f87f03
tree0aa33fde156327b2555999ecf7eaec16358214f3
parent39d1976b7f709a516e3243338ebc0443bdd8d56d
lib: add a Curl_bufref_uptr() function and use it

Function Curl_bufref_ptr() now returns a const char *.
New function Curl_bufref_uptr() returns a const unsigned char *.

Usage and doc updated.

Closes #19827
13 files changed:
docs/internals/BUFREF.md
lib/bufref.c
lib/bufref.h
lib/curl_sasl.c
lib/http_ntlm.c
lib/imap.c
lib/pop3.c
lib/smtp.c
lib/vauth/cram.c
lib/vauth/digest.c
lib/vauth/gsasl.c
lib/vauth/ntlm.c
lib/vauth/ntlm_sspi.c