/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_new_introspect.c | 23 struct wpabuf *xml; member 41 iface->xml = wpabuf_alloc(16000); in add_interface() 42 if (iface->dbus_interface == NULL || iface->xml == NULL) { in add_interface() 44 wpabuf_free(iface->xml); in add_interface() 48 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); in add_interface() 54 static void add_arg(struct wpabuf *xml, const char *name, const char *type, in add_arg() argument 57 wpabuf_printf(xml, "<arg name=\"%s\"", name); in add_arg() 59 wpabuf_printf(xml, " type=\"%s\"", type); in add_arg() 61 wpabuf_printf(xml, " direction=\"%s\"", direction); in add_arg() 62 wpabuf_put_str(xml, "/>"); in add_arg() [all …]
|
/hostap-latest/hs20/client/ |
D | oma_dm_client.c | 84 locuri = get_node(ctx->xml, node, "Item/Target/LocURI"); in oma_dm_get_target_locuri() 88 uri = xml_node_get_text(ctx->xml, locuri); in oma_dm_get_target_locuri() 91 xml_node_get_text_free(ctx->xml, uri); in oma_dm_get_target_locuri() 101 node = xml_node_create(ctx->xml, parent, NULL, element); in oma_dm_add_locuri() 104 xml_node_create_text(ctx->xml, node, NULL, "LocURI", uri); in oma_dm_add_locuri() 120 syncml = xml_node_create_root(ctx->xml, "SYNCML:SYNCML1.2", NULL, &ns, in oma_dm_build_hdr() 123 synchdr = xml_node_create(ctx->xml, syncml, NULL, "SyncHdr"); in oma_dm_build_hdr() 124 xml_node_create_text(ctx->xml, synchdr, NULL, "VerDTD", "1.2"); in oma_dm_build_hdr() 125 xml_node_create_text(ctx->xml, synchdr, NULL, "VerProto", "DM/1.2"); in oma_dm_build_hdr() 126 xml_node_create_text(ctx->xml, synchdr, NULL, "SessionID", "1"); in oma_dm_build_hdr() [all …]
|
D | spp_client.c | 44 struct xml_node_ctx *xctx = ctx->xml; in hs20_spp_validate() 117 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_spp_post_dev_data() 124 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_spp_post_dev_data() 125 xml_node_add_attr(ctx->xml, spp_node, NULL, "requestReason", reason); in build_spp_post_dev_data() 127 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", in build_spp_post_dev_data() 129 xml_node_add_attr(ctx->xml, spp_node, NULL, "redirectURI", in build_spp_post_dev_data() 132 xml_node_create_text(ctx->xml, spp_node, ns, "supportedSPPVersions", in build_spp_post_dev_data() 134 xml_node_create_text(ctx->xml, spp_node, ns, "supportedMOList", in build_spp_post_dev_data() 138 add_mo_container(ctx->xml, ns, spp_node, URN_OMA_DM_DEVINFO, in build_spp_post_dev_data() 140 add_mo_container(ctx->xml, ns, spp_node, URN_OMA_DM_DEVDETAIL, in build_spp_post_dev_data() [all …]
|
D | osu_client.c | 80 char *str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 144 proto = xml_node_get_attr_value(ctx->xml, getcert, in osu_get_certificate() 152 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 155 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 157 node = get_node(ctx->xml, getcert, "enrollmentServerURI"); in osu_get_certificate() 160 xml_node_get_attr_value_free(ctx->xml, proto); 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() 177 user = xml_node_get_text(ctx->xml, node); in osu_get_certificate() 186 node = get_node(ctx->xml, getcert, "estPassword"); in osu_get_certificate() [all …]
|
D | osu_client.h | 28 struct xml_node_ctx *xml; member
|
D | Makefile | 31 OBJS += ../../src/utils/xml-utils.o
|
/hostap-latest/hs20/server/ |
D | spp_server.c | 149 str = xml_node_to_str(ctx->xml, node); in db_add_session_pps() 173 str = xml_node_to_str(ctx->xml, node); in db_add_session_devinfo() 197 str = xml_node_to_str(ctx->xml, node); in db_add_session_devdetail() 340 str = xml_node_to_str(ctx->xml, node); in hs20_eventlog_node() 373 str = xml_node_to_str(ctx->xml, mo); in db_update_mo() 385 xml_node_create_text(ctx->xml, parent, NULL, name, value ? value : ""); in add_text_node() 395 xml_node_create_text(ctx->xml, parent, NULL, name, val ? val : ""); in add_text_node_conf() 418 xml_node_create_text(ctx->xml, parent, NULL, name, val ? val : ""); in add_text_node_conf_corrupt() 611 node = xml_node_create(ctx->xml, parent, NULL, "EAPMethod"); in add_eap_ttls() 630 node = xml_node_create(ctx->xml, parent, NULL, "UsernamePassword"); in build_username_password() [all …]
|
D | hs20_spp_server.c | 55 str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 105 soap = xml_node_from_buf(ctx->xml, post); in process() 111 spp = soap_get_body(ctx->xml, soap); in process() 114 xml_node_free(ctx->xml, soap); in process() 120 xml_node_free(ctx->xml, soap); in process() 130 soap = soap_build_envelope(ctx->xml, resp); in process() 135 str = xml_node_to_str(ctx->xml, soap); in process() 136 xml_node_free(ctx->xml, soap); in process() 190 ctx.xml = xml_node_init_ctx(&ctx, NULL); in main() 191 if (ctx.xml == NULL) in main() [all …]
|
D | spp_server.h | 14 struct xml_node_ctx *xml; member
|
D | hs20-osu-server.txt | 28 sudo apt-get install php-sqlite3 php-xml libapache2-mod-php 122 cat > /home/user/hs20-server/spp/policy/default.xml <<EOF
|
/hostap-latest/src/eap_peer/ |
D | tncc.c | 797 char *xml, *xmlend, *endpos; in tncc_process_if_tnccs() local 820 xml = NULL; in tncc_process_if_tnccs() 832 xml = pos; in tncc_process_if_tnccs() 849 if (xml) { in tncc_process_if_tnccs() 852 (unsigned char *) xml, in tncc_process_if_tnccs() 853 xmlend - xml); in tncc_process_if_tnccs() 856 if (type == TNC_TNCCS_RECOMMENDATION && xml) { in tncc_process_if_tnccs() 862 res = tncc_get_recommendation(xml); in tncc_process_if_tnccs()
|
/hostap-latest/src/eap_server/ |
D | tncs.c | 885 char *xml, *xmlend, *endpos; in tncs_process_if_tnccs() local 908 xml = NULL; in tncs_process_if_tnccs() 920 xml = pos; in tncs_process_if_tnccs() 937 if (xml) { in tncs_process_if_tnccs() 940 (unsigned char *) xml, in tncs_process_if_tnccs() 941 xmlend - xml); in tncs_process_if_tnccs()
|
/hostap-latest/hs20/server/www/ |
D | users.php | 359 $xml = xml_parser_create(); variable 360 xml_parse_into_struct($xml, $row['devinfo'], $devinfo);
|
/hostap-latest/src/utils/ |
D | http_curl.c | 44 struct xml_node_ctx *xml; member 1493 envelope = soap_build_envelope(ctx->xml, node); in soap_send_receive() 1494 str = xml_node_to_str(ctx->xml, envelope); in soap_send_receive() 1495 xml_node_free(ctx->xml, envelope); in soap_send_receive() 1526 resp = xml_node_from_buf(ctx->xml, ctx->curl_buf); in soap_send_receive() 1534 ret = soap_get_body(ctx->xml, resp); in soap_send_receive() 1542 xml_node_get_localname(ctx->xml, ret)); in soap_send_receive() 1543 n = xml_node_copy(ctx->xml, ret); in soap_send_receive() 1544 xml_node_free(ctx->xml, resp); in soap_send_receive() 1558 ctx->xml = xml_ctx; in http_init_ctx()
|
/hostap-latest/doc/ |
D | doxygen.conf | 1167 XML_OUTPUT = xml
|
/hostap-latest/wpa_supplicant/wpa_gui-qt4/lang/ |
D | wpa_gui_de.ts | 1 <?xml version="1.0" encoding="utf-8"?>
|
/hostap-latest/tests/hwsim/ |
D | test_ap_wps.py | 42 import xml.etree.ElementTree as ET
|