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.c173 char *send_buf; in data_echo() local
176 send_buf = calloc(1, plen_max); in data_echo()
177 if(!send_buf) in data_echo()
180 send_buf[i] = (char)('0' + ((int)i % 10)); in data_echo()
184 res = send_binary(curl, send_buf, len); in data_echo()
187 res = recv_binary(curl, send_buf, len); in data_echo()
197 free(send_buf); in data_echo()
/curl/lib/
H A Dsmb.h45 char *send_buf; member
H A Dsmb.c461 smbc->send_buf = malloc(MAX_MESSAGE_SIZE); in smb_connect()
462 if(!smbc->send_buf) in smb_connect()
575 result = Curl_xfer_send(data, smbc->send_buf, len, &bytes_written); in smb_send()
600 result = Curl_xfer_send(data, smbc->send_buf + smbc->sent, len, in smb_flush()
619 smb_format_message(data, (struct smb_header *)smbc->send_buf, in smb_send_message()
622 memcpy(smbc->send_buf + sizeof(struct smb_header), msg, msg_len); in smb_send_message()
787 msg = (struct smb_write *)smbc->send_buf; in smb_send_write()
820 result = Curl_client_read(data, smbc->send_buf, nread, &nread, &eos); in smb_send_and_recv()
1138 Curl_safefree(smbc->send_buf); in smb_disconnect()

Completed in 14 milliseconds