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

Function bencode_dictionary_add_string

modules/rtpengine/bencode.h:393–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static inline bencode_item_t *bencode_dictionary_add_string(bencode_item_t *dict, const char *key, const char *val) {
394 if (!val)
395 return NULL;
396 return bencode_dictionary_add(dict, key, bencode_string(bencode_item_buffer(dict), val));
397}
398
399static inline bencode_item_t *bencode_dictionary_add_string_dup(bencode_item_t *dict, const char *key, const char *val) {
400 if (!val)

Callers 2

rtpe_testFunction · 0.85

Calls 3

bencode_dictionary_addFunction · 0.85
bencode_stringFunction · 0.85
bencode_item_bufferFunction · 0.85

Tested by

no test coverage detected