/hostap-3.6.0/src/utils/ |
D | xml-utils.c | 19 xml_node_t *node; in get_node_uri_iter() local 26 node = root; in get_node_uri_iter() 27 xml_node_for_each_sibling(ctx, node) { in get_node_uri_iter() 28 xml_node_for_each_check(ctx, node); in get_node_uri_iter() 29 name = xml_node_get_localname(ctx, node); in get_node_uri_iter() 34 if (node == NULL) in get_node_uri_iter() 38 return get_node_uri_iter(ctx, xml_node_first_child(ctx, node), in get_node_uri_iter() 42 return node; in get_node_uri_iter() 50 xml_node_t *node; in get_node_uri() local 56 node = get_node_uri_iter(ctx, root, search); in get_node_uri() [all …]
|
D | xml_libxml2.c | 53 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate() argument 70 n = xmlDocCopyNode((xmlNodePtr) node, doc, 1); in xml_validate() 115 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate_dtd() argument 131 n = xmlDocCopyNode((xmlNodePtr) node, doc, 1); in xml_validate_dtd() 167 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_free() argument 169 xmlFreeNode((xmlNodePtr) node); in xml_node_free() 173 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_get_parent() argument 175 return (xml_node_t *) ((xmlNodePtr) node)->parent; in xml_node_get_parent() 182 xmlNodePtr node; in xml_node_from_buf() local 187 node = xmlDocGetRootElement(doc); in xml_node_from_buf() [all …]
|
D | xml-utils.h | 18 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, 20 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, 22 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node); 23 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node); 26 xml_node_t *node); 27 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node); 28 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node); 42 void xml_node_set_text(struct xml_node_ctx *ctx, xml_node_t *node, 44 int xml_node_add_attr(struct xml_node_ctx *ctx, xml_node_t *node, 46 char * xml_node_get_attr_value(struct xml_node_ctx *ctx, xml_node_t *node, [all …]
|
D | http-utils.h | 43 xml_node_t * soap_send_receive(struct http_ctx *ctx, xml_node_t *node);
|
D | http_curl.c | 1504 xml_node_t * soap_send_receive(struct http_ctx *ctx, xml_node_t *node) in soap_send_receive() argument 1514 envelope = soap_build_envelope(ctx->xml, node); in soap_send_receive()
|
/hostap-3.6.0/hs20/client/ |
D | spp_client.c | 34 static char * get_spp_attr_value(struct xml_node_ctx *ctx, xml_node_t *node, in get_spp_attr_value() argument 37 return xml_node_get_attr_value_ns(ctx, node, SPP_NS_URI, attr_name); in get_spp_attr_value() 41 static int hs20_spp_validate(struct hs20_osu_client *ctx, xml_node_t *node, in hs20_spp_validate() argument 49 if (!xml_node_is_element(xctx, node)) in hs20_spp_validate() 52 name = xml_node_get_localname(xctx, node); in hs20_spp_validate() 64 ret = xml_validate(xctx, node, spp_xsd_fname, &err); in hs20_spp_validate() 78 xml_node_t *node; in add_mo_container() local 100 node = xml_node_create_text(ctx, parent, ns, "moContainer", str); in add_mo_container() 101 if (node) in add_mo_container() 102 xml_node_add_attr(ctx, node, ns, "moURN", urn); in add_mo_container() [all …]
|
D | osu_client.c | 78 xml_node_t *node) in debug_dump_node() argument 80 char *str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 139 xml_node_t *node; in osu_get_certificate() local 157 node = get_node(ctx->xml, getcert, "enrollmentServerURI"); in osu_get_certificate() 158 if (node == NULL) { in osu_get_certificate() 163 url = xml_node_get_text(ctx->xml, node); in osu_get_certificate() 171 node = get_node(ctx->xml, getcert, "estUserID"); in osu_get_certificate() 172 if (node == NULL && !ctx->client_cert_present) { in osu_get_certificate() 176 if (node) { in osu_get_certificate() 177 user = xml_node_get_text(ctx->xml, node); in osu_get_certificate() [all …]
|
D | oma_dm_client.c | 79 xml_node_t *node) in oma_dm_get_target_locuri() argument 84 locuri = get_node(ctx->xml, node, "Item/Target/LocURI"); in oma_dm_get_target_locuri() 99 xml_node_t *node; in oma_dm_add_locuri() local 101 node = xml_node_create(ctx->xml, parent, NULL, element); in oma_dm_add_locuri() 102 if (node == NULL) in oma_dm_add_locuri() 104 xml_node_create_text(ctx->xml, node, NULL, "LocURI", uri); in oma_dm_add_locuri() 146 xml_node_t *node; in add_alert() local 148 node = xml_node_create(ctx->xml, parent, NULL, "Alert"); in add_alert() 149 if (node == NULL) in add_alert() 151 oma_dm_add_cmdid(ctx, node, cmdid); in add_alert() [all …]
|
D | osu_client.h | 66 xml_node_t *node);
|
/hostap-3.6.0/hs20/server/ |
D | spp_server.c | 144 xml_node_t *node) in db_add_session_pps() argument 149 str = xml_node_to_str(ctx->xml, node); in db_add_session_pps() 168 xml_node_t *node) in db_add_session_devinfo() argument 173 str = xml_node_to_str(ctx->xml, node); in db_add_session_devinfo() 192 xml_node_t *node) in db_add_session_devdetail() argument 197 str = xml_node_to_str(ctx->xml, node); in db_add_session_devdetail() 335 xml_node_t *node) in hs20_eventlog_node() argument 339 if (node) in hs20_eventlog_node() 340 str = xml_node_to_str(ctx->xml, node); in hs20_eventlog_node() 609 xml_node_t *node; in add_eap_ttls() local [all …]
|
D | spp_server.h | 28 void debug_dump_node(struct hs20_svc *ctx, const char *title, xml_node_t *node); 30 xml_node_t * hs20_spp_server_process(struct hs20_svc *ctx, xml_node_t *node,
|
D | hs20_spp_server.c | 49 void debug_dump_node(struct hs20_svc *ctx, const char *title, xml_node_t *node) in debug_dump_node() argument 55 str = xml_node_to_str(ctx->xml, node); in debug_dump_node()
|
/hostap-3.6.0/doc/ |
D | p2p_sm.dot | 12 node [color=blue]; 29 node [color=green];
|
/hostap-3.6.0/wpa_supplicant/dbus/ |
D | dbus_new_handlers_p2p.c | 1238 } *node, *tmp; in wpas_dbus_getter_p2p_peers() local 1254 node = os_zalloc(sizeof(struct peer_objpath_node)); in wpas_dbus_getter_p2p_peers() 1255 if (!node) { in wpas_dbus_getter_p2p_peers() 1261 os_snprintf(node->path, WPAS_DBUS_OBJECT_PATH_MAX, in wpas_dbus_getter_p2p_peers() 1266 dl_list_add_tail(&peer_objpath_list, &node->list); in wpas_dbus_getter_p2p_peers() 1283 dl_list_for_each_safe(node, tmp, &peer_objpath_list, in wpas_dbus_getter_p2p_peers() 1285 peer_obj_paths[i++] = node->path; in wpas_dbus_getter_p2p_peers() 1296 dl_list_for_each_safe(node, tmp, &peer_objpath_list, in wpas_dbus_getter_p2p_peers() 1298 dl_list_del(&node->list); in wpas_dbus_getter_p2p_peers() 1299 os_free(node); in wpas_dbus_getter_p2p_peers()
|