Home
last modified time | relevance | path

Searched refs:send_buf (Results 1 – 3 of 3) sorted by relevance

/curl/tests/http/clients/
H A Dws-data.c181 char *send_buf; in data_echo() local
184 send_buf = calloc(1, plen_max); in data_echo()
185 if(!send_buf) in data_echo()
188 send_buf[i] = (char)('0' + ((int)i % 10)); in data_echo()
192 res = send_binary(curl, send_buf, len); in data_echo()
195 res = recv_binary(curl, send_buf, len); in data_echo()
205 free(send_buf); in data_echo()
/curl/lib/
H A Dsmb.h45 char *send_buf; member
H A Dsmb.c450 smbc->send_buf = malloc(MAX_MESSAGE_SIZE); in smb_connect()
451 if(!smbc->send_buf) in smb_connect()
564 result = Curl_xfer_send(data, smbc->send_buf, len, FALSE, &bytes_written); in smb_send()
589 result = Curl_xfer_send(data, smbc->send_buf + smbc->sent, len, FALSE, in smb_flush()
608 smb_format_message(data, (struct smb_header *)smbc->send_buf, in smb_send_message()
611 memcpy(smbc->send_buf + sizeof(struct smb_header), msg, msg_len); in smb_send_message()
780 msg = (struct smb_write *)smbc->send_buf; in smb_send_write()
813 result = Curl_client_read(data, smbc->send_buf, nread, &nread, &eos); in smb_send_and_recv()
1131 Curl_safefree(smbc->send_buf); in smb_disconnect()

Completed in 14 milliseconds