xref: /freebsd/contrib/wpa/src/utils/browser.h (revision 55141f2c8991b2a6adbf30bb0fe3e6cbc303f06d)
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