This is an overview on how to use the libcurl share interface in your C programs. There are specific man pages for each function mentioned in here.
All functions in the share interface are prefixed with curl_share.
The share interface was added to enable sharing of data between curl "handles".
One Set of Data - Many Transfers
You can have multiple easy handles share data between them. Have them update and use the same cookie database, DNS cache, TLS session cache and/or connection cache! This way, each single transfer will take advantage from data updates made by the other transfer(s).
curl_share_init(3), curl_share_setopt(3), curl_share_cleanup(3) libcurl-errors(3), libcurl-easy(3), libcurl-multi(3)