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

Function bencode_str_dup

modules/rtpengine/bencode.h:383–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383static inline bencode_item_t *bencode_str_dup(bencode_buffer_t *buf, const str *s) {
384 return bencode_string_len_dup(buf, s->s, s->len);
385}
386
387static inline bencode_item_t *bencode_dictionary_add(bencode_item_t *dict, const char *key, bencode_item_t *val) {
388 if (!key)

Callers 1

Calls 1

bencode_string_len_dupFunction · 0.85

Tested by

no test coverage detected