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