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

Function bencode_item_buffer

modules/rtpengine/bencode.h:365–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363/**************************/
364
365static inline bencode_buffer_t *bencode_item_buffer(bencode_item_t *i) {
366 if (!i)
367 return NULL;
368 return i->buffer;
369}
370
371static inline bencode_item_t *bencode_string(bencode_buffer_t *buf, const char *s) {
372 return bencode_string_len(buf, s, strlen(s));

Calls

no outgoing calls

Tested by

no test coverage detected