/freebsd/contrib/wpa/src/utils/ |
H A D | xml-utils.h | 13 typedef struct xml_node xml_node_t; typedef 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); 24 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf); 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); 29 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent, [all …]
|
H A D | xml-utils.c | 15 static xml_node_t * get_node_uri_iter(struct xml_node_ctx *ctx, in get_node_uri_iter() 16 xml_node_t *root, char *uri) in get_node_uri_iter() 19 xml_node_t *node; in get_node_uri_iter() 46 xml_node_t * get_node_uri(struct xml_node_ctx *ctx, xml_node_t *root, in get_node_uri() 50 xml_node_t *node; in get_node_uri() 63 static xml_node_t * get_node_iter(struct xml_node_ctx *ctx, in get_node_iter() 64 xml_node_t *root, const char *path) in get_node_iter() 67 xml_node_t *node; in get_node_iter() 89 xml_node_t * get_node(struct xml_node_ctx *ctx, xml_node_t *root, in get_node() 93 xml_node_t *node; in get_node() [all …]
|
H A D | xml_libxml2.c | 53 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate() 115 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate_dtd() 167 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *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() 175 return (xml_node_t *) ((xmlNodePtr) node)->parent; in xml_node_get_parent() 179 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf) in xml_node_from_buf() 191 return (xml_node_t *) node; in xml_node_from_buf() 196 xml_node_t *node) in xml_node_get_localname() 202 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_to_str() 245 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_detach() [all …]
|
H A D | http-utils.h | 44 xml_node_t * soap_send_receive(struct http_ctx *ctx, xml_node_t *node);
|
H A D | http_curl.c | 1483 xml_node_t * soap_send_receive(struct http_ctx *ctx, xml_node_t *node) in soap_send_receive() 1486 xml_node_t *envelope, *ret, *resp, *n; in soap_send_receive()
|
/freebsd/contrib/wpa/hs20/client/ |
H A D | oma_dm_client.c | 66 static void add_item(struct hs20_osu_client *ctx, xml_node_t *parent, 79 xml_node_t *node) in oma_dm_get_target_locuri() 81 xml_node_t *locuri; in oma_dm_get_target_locuri() 96 static void oma_dm_add_locuri(struct hs20_osu_client *ctx, xml_node_t *parent, in oma_dm_add_locuri() 99 xml_node_t *node; in oma_dm_add_locuri() 108 static xml_node_t * oma_dm_build_hdr(struct hs20_osu_client *ctx, in oma_dm_build_hdr() 111 xml_node_t *syncml, *synchdr; in oma_dm_build_hdr() 136 static void oma_dm_add_cmdid(struct hs20_osu_client *ctx, xml_node_t *parent, in oma_dm_add_cmdid() 143 static xml_node_t * add_alert(struct hs20_osu_client *ctx, xml_node_t *parent, in add_alert() 146 xml_node_t *node; in add_alert() [all …]
|
H A 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() 41 static int hs20_spp_validate(struct hs20_osu_client *ctx, xml_node_t *node, in hs20_spp_validate() 75 xml_node_t *parent, const char *urn, in add_mo_container() 78 xml_node_t *node; in add_mo_container() 79 xml_node_t *fnode, *tnds; in add_mo_container() 107 static xml_node_t * build_spp_post_dev_data(struct hs20_osu_client *ctx, in build_spp_post_dev_data() 113 xml_node_t *spp_node; in build_spp_post_dev_data() 147 static int process_update_node(struct hs20_osu_client *ctx, xml_node_t *pps, in process_update_node() 148 xml_node_t *update) in process_update_node() 150 xml_node_t *node, *parent, *tnds, *unode; in process_update_node() [all …]
|
H A D | osu_client.h | 66 xml_node_t *node); 67 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_t *getcert); 69 xml_node_t *add_mo, char *fname, size_t fname_len); 70 void get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps, 73 xml_node_t *pps); 83 xml_node_t *pps); 88 xml_node_t *pps); 101 xml_node_t *pps); 106 xml_node_t *pps);
|
H A D | osu_client.c | 78 xml_node_t *node) in debug_dump_node() 137 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_t *getcert) in osu_get_certificate() 139 xml_node_t *node; in osu_get_certificate() 218 static int process_est_cert(struct hs20_osu_client *ctx, xml_node_t *cert, in process_est_cert() 304 static int download_cert(struct hs20_osu_client *ctx, xml_node_t *params, in download_cert() 307 xml_node_t *url_node, *hash_node; in download_cert() 398 xml_node_t *pps, *node; in cmd_dl_osu_ca() 425 xml_node_t *pps, *node; in cmd_dl_polupd_ca() 452 xml_node_t *pps, *node, *aaa; in cmd_dl_aaa_ca() 553 xml_node_t *add_mo, char *fname, size_t fname_len) in hs20_add_pps_mo() [all …]
|