MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / bin_get_buffer

Function bin_get_buffer

bin_interface.c:547–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547int bin_get_buffer(bin_packet_t *packet, str *buffer)
548{
549 if (!buffer)
550 return -1;
551
552 buffer->s = packet->buffer.s;
553 buffer->len = packet->buffer.len;
554
555 return 1;
556}
557
558int bin_get_content_start(bin_packet_t *packet, str *buf)
559{

Callers 15

srec_dlg_write_callbackFunction · 0.85
rtp_relay_store_callbackFunction · 0.85
cl_sync_chunk_startFunction · 0.85
cl_sync_chunk_iterFunction · 0.85
send_sync_replFunction · 0.85
buffer_bin_pktFunction · 0.85
msg_send_retryFunction · 0.85
send_single_cap_updateFunction · 0.85
send_cap_updateFunction · 0.85
send_pingFunction · 0.85
flood_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected