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

Function bencode_dictionary_add

modules/rtpengine/bencode.h:387–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387static inline bencode_item_t *bencode_dictionary_add(bencode_item_t *dict, const char *key, bencode_item_t *val) {
388 if (!key)
389 return NULL;
390 return bencode_dictionary_add_len(dict, key, strlen(key), val);
391}
392
393static inline bencode_item_t *bencode_dictionary_add_string(bencode_item_t *dict, const char *key, const char *val) {
394 if (!val)

Calls 1

Tested by

no test coverage detected