Lines Matching refs:CBC
41 struct CBC
52 struct CBC *cbc = ctx;
54 if (cbc->pos + size * nmemb > cbc->size)
56 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
57 cbc->pos += size * nmemb;
117 struct CBC cbc;
130 cbc.buf = buf;
131 cbc.size = 2048;
132 cbc.pos = 0;
141 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
227 if (cbc.pos != strlen ("/hello+world"))
229 if (0 != strncmp ("/hello+world", cbc.buf, strlen ("/hello+world")))