xref: /freebsd/contrib/wpa/src/utils/browser.h (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 /*
2  * Hotspot 2.0 client - Web browser
3  * Copyright (c) 2013, 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 BROWSER_H
10 #define BROWSER_H
11 
12 #ifdef CONFIG_NO_BROWSER
13 static inline int hs20_web_browser(const char *url, int ignore_tls)
14 {
15 	return -1;
16 }
17 #else /* CONFIG_NO_BROWSER */
18 int hs20_web_browser(const char *url, int ignore_tls);
19 #endif /* CONFIG_NO_BROWSER */
20 
21 #endif /* BROWSER_H */
22