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

Function bencode_list_add

modules/rtpengine/bencode.c:313–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313bencode_item_t *bencode_list_add(bencode_item_t *list, bencode_item_t *item) {
314 if (!list || !item)
315 return NULL;
316 assert(list->type == BENCODE_LIST);
317 __bencode_container_add(list, item);
318 return item;
319}
320
321static int __bencode_iovec_cpy(struct iovec *out, const struct iovec *in, int num) {
322 memcpy(out, in, num * sizeof(*out));

Callers 5

parse_bracket_valueFunction · 0.85
bencode_list_add_stringFunction · 0.85
bencode_list_add_listFunction · 0.85
parse_flagsFunction · 0.85

Calls 1

__bencode_container_addFunction · 0.85

Tested by

no test coverage detected