1 /* 2 * Hotspot 2.0 - OSU client 3 * Copyright (c) 2013-2014, Qualcomm Atheros, Inc. 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef OSU_CLIENT_H 10 #define OSU_CLIENT_H 11 12 struct hs20_osu_client { 13 struct xml_node_ctx *xml; 14 struct http_ctx *http; 15 const char *result_file; 16 const char *summary_file; 17 const char *ifname; 18 #define WORKAROUND_OCSP_OPTIONAL 0x00000001 19 unsigned long int workarounds; 20 int ignore_tls; /* whether to ignore TLS validation issues with HTTPS 21 * server certificate */ 22 }; 23 24 #endif /* OSU_CLIENT_H */ 25