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

Function bencode_dictionary_get_str

modules/rtpengine/bencode.h:456–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456static inline char *bencode_dictionary_get_str(bencode_item_t *dict, const char *key, str *str) {
457 str->s = bencode_dictionary_get_string(dict, key, &str->len);
458 if (!str->s)
459 str->len = 0;
460 return str->s;
461}
462
463static inline char *bencode_dictionary_get_string_dup(bencode_item_t *dict, const char *key, int *len) {
464 const char *s;

Callers 4

rtpe_function_callFunction · 0.85
rtpengine_api_copy_offerFunction · 0.85

Calls 1

Tested by

no test coverage detected