Hello,

Just wanted to briefly mentioned that I just landed a cleanup of the Curl_llist internal module and API.

This API is now documented at https://github.com/curl/curl/blob/master/docs/LLIST.md

Things fixed today:

 - No more macros or accessing struct fields directly. Only function calls.
 - Some functions were renamed
 - One of struct is renamed
 - Each llist function has a set of asserst to verify API use
 - Each node struct now links to the list, so removing a node no longer needs
   the list specified
 - To make sure there is no existing code accessing llist struct fields, I
   renamed all struct fields to be underscore prefixed.
 - I found and fixed maybe three minor internal llist API misuses

I think code using this API became a little easier to read and manage.

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to