| 545 | } |
| 546 | |
| 547 | int 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 | |
| 558 | int bin_get_content_start(bin_packet_t *packet, str *buf) |
| 559 | { |
no outgoing calls
no test coverage detected