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

Function bencode_list

modules/rtpengine/bencode.c:190–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190bencode_item_t *bencode_list(bencode_buffer_t *buf) {
191 bencode_item_t *ret;
192
193 ret = __bencode_item_alloc(buf, 0);
194 if (!ret)
195 return NULL;
196 __bencode_list_init(ret);
197 return ret;
198}
199
200static void __bencode_container_add(bencode_item_t *parent, bencode_item_t *child) {
201 if (!parent)

Callers 5

parse_bracket_valueFunction · 0.85
bencode_list_add_listFunction · 0.85
rtpengine_api_copy_opFunction · 0.85

Calls 2

__bencode_item_allocFunction · 0.85
__bencode_list_initFunction · 0.85

Tested by

no test coverage detected