Unlike the connection filter tables that hold a writable log level, the
client writer tables can be const.
static CURLcode cw_out_init(struct Curl_easy *data,
struct Curl_cwriter *writer);
-struct Curl_cwtype Curl_cwt_out = {
+const struct Curl_cwtype Curl_cwt_out = {
"cw-out",
NULL,
cw_out_init,
* the client callbacks. Intended to be the last installed in the
* client writer stack of a transfer.
*/
-extern struct Curl_cwtype Curl_cwt_out;
+extern const struct Curl_cwtype Curl_cwt_out;
/**
* Return TRUE iff 'cw-out' client write has paused data.
static CURLcode cw_pause_init(struct Curl_easy *data,
struct Curl_cwriter *writer);
-struct Curl_cwtype Curl_cwt_pause = {
+const struct Curl_cwtype Curl_cwt_pause = {
"cw-pause",
NULL,
cw_pause_init,
* The client writer type "cw-pause" that buffers writes for
* paused transfer writes.
*/
-extern struct Curl_cwtype Curl_cwt_pause;
+extern const struct Curl_cwtype Curl_cwt_pause;
CURLcode Curl_cw_pause_flush(struct Curl_easy *data);