curlx in curl code

Daniel Stenberg via curl-library <[email protected]>
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
FYI

(The curlx functions are functions that are not part of the libcurl API but is 
still shared as code from the lib with the tool and tests.)

At curl up 2025 we discussed "curlx as a library" and we came down with the 
conclusion that we should simply move all the curlx_ functions into a subdir 
and use the prefix consistently for those functions both in tool and library 
code and get rid of the defined name setup we used before (intermittently).

The net effect is that a few library source code files move into lib/curlx/, 
and that we change the prefix for a bunch of libcurl functions from Curl_ to 
curlx_.

This is exactly what I'm doing in my monster PR 17253 [*]. Due to the nature 
of this change, it might of course cause some extra merge work for other 
outstanding PRs, but I do think the cleanup and clarity this brings is a good 
one.

[*] = https://github.com/curl/curl/pull/17253

The curl up discussion on video: 
https://youtu.be/5ZB8_IGM3YU?si=VNHsLBYKpBJdZqU0

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.