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

Function bencode_dictionary_add_str

modules/rtpengine/bencode.h:405–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405static inline bencode_item_t *bencode_dictionary_add_str(bencode_item_t *dict, const char *key, const str *val) {
406 if (!val)
407 return NULL;
408 return bencode_dictionary_add(dict, key, bencode_str(bencode_item_buffer(dict), val));
409}
410
411static inline bencode_item_t *bencode_dictionary_add_str_dup(bencode_item_t *dict, const char *key, const str *val) {
412 if (!val)

Callers 4

parse_flagsFunction · 0.85
rtpengine_play_dtmf_fFunction · 0.85
rtpengine_api_copy_opFunction · 0.85

Calls 3

bencode_dictionary_addFunction · 0.85
bencode_strFunction · 0.85
bencode_item_bufferFunction · 0.85

Tested by

no test coverage detected