Home
last modified time | relevance | path

Searched refs:json_token (Results 1 – 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/wpa/src/utils/
HDjson.h12 struct json_token { struct
31 struct json_token *parent, *child, *sibling; argument
35 struct json_token * json_parse(const char *data, size_t data_len);
36 void json_free(struct json_token *json);
37 struct json_token * json_get_member(struct json_token *json, const char *name);
38 struct wpabuf * json_get_member_base64url(struct json_token *json,
40 void json_print_tree(struct json_token *root, char *buf, size_t buflen);
HDjson.c191 static int json_check_tree_state(struct json_token *token) in json_check_tree_state()
209 static struct json_token * json_alloc_token(unsigned int *tokens) in json_alloc_token()
216 return os_zalloc(sizeof(struct json_token)); in json_alloc_token()
220 struct json_token * json_parse(const char *data, size_t data_len) in json_parse()
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse()
479 void json_free(struct json_token *json) in json_free()
491 struct json_token * json_get_member(struct json_token *json, const char *name) in json_get_member()
493 struct json_token *token, *ret = NULL; in json_get_member()
506 struct wpabuf * json_get_member_base64url(struct json_token *json, in json_get_member_base64url()
509 struct json_token *token; in json_get_member_base64url()
[all …]
HDutils_module_tests.c891 struct json_token *root; in json_tests()
/freebsd-11-stable/contrib/wpa/src/common/
HDdpp.c4982 struct json_token *root = NULL, *token; in dpp_conf_req_rx()
5105 struct json_token *root, *token; in dpp_parse_jws_prot_hdr()
5181 struct json_token *cred) in dpp_parse_cred_legacy()
5183 struct json_token *pass, *psk_hex; in dpp_parse_cred_legacy()
5227 static EVP_PKEY * dpp_parse_jwk(struct json_token *jwk, in dpp_parse_jwk()
5230 struct json_token *token; in dpp_parse_jwk()
5389 struct json_token *root, *groups, *netkey, *token; in dpp_parse_connector()
5407 struct json_token *id, *role; in dpp_parse_connector()
5721 struct json_token *cred) in dpp_parse_cred_dpp()
5724 struct json_token *token, *csign; in dpp_parse_cred_dpp()
[all …]