The most obvious way would be to add an outparam to the request functions, e.g. CURLcode docker_get(DOCKER *client, char *url, long *http_code) but given that this is a breaking API change it's best if there's some agreement before someone does any development.
The most obvious way would be to add an outparam to the request functions, e.g.
CURLcode docker_get(DOCKER *client, char *url, long *http_code)
but given that this is a breaking API change it's best if there's some agreement before someone does any development.