|
|
@ -145,12 +145,15 @@ const ng_parser_t ng_parser_native = { |
|
|
.is_list = bencode_is_list, |
|
|
.is_list = bencode_is_list, |
|
|
.list_iter = bencode_list_iter, |
|
|
.list_iter = bencode_list_iter, |
|
|
.get_str = bencode_get_str, |
|
|
.get_str = bencode_get_str, |
|
|
|
|
|
.strcmp = bencode_strcmp, |
|
|
.get_int_str = bencode_get_integer_str, |
|
|
.get_int_str = bencode_get_integer_str, |
|
|
.is_int = bencode_is_int, |
|
|
.is_int = bencode_is_int, |
|
|
.get_int = bencode_get_int, |
|
|
.get_int = bencode_get_int, |
|
|
.is_dict = bencode_is_dict, |
|
|
.is_dict = bencode_is_dict, |
|
|
.dict = __bencode_dict, |
|
|
.dict = __bencode_dict, |
|
|
.dict_get_str = bencode_dictionary_get_str, |
|
|
.dict_get_str = bencode_dictionary_get_str, |
|
|
|
|
|
.dict_get_int_str = bencode_dictionary_get_int_str, |
|
|
|
|
|
.dict_get_expect = bencode_dictionary_get_expect, |
|
|
.dict_add = bencode_dictionary_add, |
|
|
.dict_add = bencode_dictionary_add, |
|
|
.dict_add_string = bencode_dictionary_add_string, |
|
|
.dict_add_string = bencode_dictionary_add_string, |
|
|
.dict_add_str = bencode_dictionary_add_str, |
|
|
.dict_add_str = bencode_dictionary_add_str, |
|
|
@ -170,12 +173,15 @@ const ng_parser_t ng_parser_json = { |
|
|
.is_list = bencode_is_list, |
|
|
.is_list = bencode_is_list, |
|
|
.list_iter = bencode_list_iter, |
|
|
.list_iter = bencode_list_iter, |
|
|
.get_str = bencode_get_str, |
|
|
.get_str = bencode_get_str, |
|
|
|
|
|
.strcmp = bencode_strcmp, |
|
|
.get_int_str = bencode_get_integer_str, |
|
|
.get_int_str = bencode_get_integer_str, |
|
|
.is_int = bencode_is_int, |
|
|
.is_int = bencode_is_int, |
|
|
.get_int = bencode_get_int, |
|
|
.get_int = bencode_get_int, |
|
|
.is_dict = bencode_is_dict, |
|
|
.is_dict = bencode_is_dict, |
|
|
.dict = __bencode_dict, |
|
|
.dict = __bencode_dict, |
|
|
.dict_get_str = bencode_dictionary_get_str, |
|
|
.dict_get_str = bencode_dictionary_get_str, |
|
|
|
|
|
.dict_get_int_str = bencode_dictionary_get_int_str, |
|
|
|
|
|
.dict_get_expect = bencode_dictionary_get_expect, |
|
|
.dict_add = bencode_dictionary_add, |
|
|
.dict_add = bencode_dictionary_add, |
|
|
.dict_add_string = bencode_dictionary_add_string, |
|
|
.dict_add_string = bencode_dictionary_add_string, |
|
|
.dict_add_str = bencode_dictionary_add_str, |
|
|
.dict_add_str = bencode_dictionary_add_str, |
|
|
|