Lines Matching refs:data
72 static CURLcode dict_do(struct Curl_easy *data, bool *done);
124 /* sendf() sends formatted data to the server */
125 static CURLcode sendf(curl_socket_t sockfd, struct Curl_easy *data,
128 static CURLcode sendf(curl_socket_t sockfd, struct Curl_easy *data,
149 result = Curl_write(data, sockfd, sptr, write_len, &bytes_written);
154 Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written);
171 static CURLcode dict_do(struct Curl_easy *data, bool *done)
181 struct connectdata *conn = data->conn;
189 result = Curl_urldecode(data->state.up.path, 0, &path, NULL, REJECT_CTRL);
215 infof(data, "lookup word is missing");
231 result = sendf(sockfd, data,
243 failf(data, "Failed sending DICT request");
246 Curl_setup_transfer(data, FIRSTSOCKET, -1, FALSE, -1); /* no upload */
266 infof(data, "lookup word is missing");
279 result = sendf(sockfd, data,
289 failf(data, "Failed sending DICT request");
292 Curl_setup_transfer(data, FIRSTSOCKET, -1, FALSE, -1);
305 result = sendf(sockfd, data,
310 failf(data, "Failed sending DICT request");
314 Curl_setup_transfer(data, FIRSTSOCKET, -1, FALSE, -1);