Lines Matching refs:CBC
45 struct CBC
111 struct CBC *cbc = ctx;
113 if (cbc->pos + size * nmemb > cbc->size)
115 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
116 cbc->pos += size * nmemb;
167 struct CBC cbc;
172 cbc.buf = buf;
173 cbc.size = 2048;
174 cbc.pos = 0;
186 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
210 if (cbc.pos != strlen ("/hello_world"))
212 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
223 struct CBC cbc;
227 cbc.buf = buf;
228 cbc.size = 2048;
229 cbc.pos = 0;
241 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);