| 439 | } |
| 440 | |
| 441 | static inline bencode_item_t *bencode_dictionary_get(bencode_item_t *dict, const char *key) { |
| 442 | if (!key) |
| 443 | return NULL; |
| 444 | return bencode_dictionary_get_len(dict, key, strlen(key)); |
| 445 | } |
| 446 | |
| 447 | static inline char *bencode_dictionary_get_string(bencode_item_t *dict, const char *key, int *len) { |
| 448 | bencode_item_t *val; |
no test coverage detected