blob: 3bfbb0dd9e1b441ce9b575f146ede0c89060e530 [file] [log] [blame]
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -07001/*
2 * Hotspot 2.0 - OSU client
Dmitry Shmidt6cb1f652014-03-21 10:54:03 -07003 * Copyright (c) 2013-2014, Qualcomm Atheros, Inc.
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -07004 *
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
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -070012struct hs20_osu_client {
13 struct xml_node_ctx *xml;
14 struct http_ctx *http;
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -070015 const char *result_file;
16 const char *summary_file;
17 const char *ifname;
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -070018#define WORKAROUND_OCSP_OPTIONAL 0x00000001
19 unsigned long int workarounds;
Hai Shalomfdcde762020-04-02 11:19:20 -070020 int ignore_tls; /* whether to ignore TLS validation issues with HTTPS
21 * server certificate */
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -070022};
23
Dmitry Shmidtd5dc24e2014-03-12 14:22:04 -070024#endif /* OSU_CLIENT_H */