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

Function __bencode_str_cpy

modules/rtpengine/bencode.c:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326static int __bencode_str_cpy(char *out, const struct iovec *in, int num) {
327 char *orig = out;
328
329 while (--num >= 0) {
330 memcpy(out, in->iov_base, in->iov_len);
331 out += in->iov_len;
332 in++;
333 }
334 return out - orig;
335}
336
337static int __bencode_iovec_dump(struct iovec *out, bencode_item_t *item) {
338 bencode_item_t *child;

Callers 1

__bencode_str_dumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected