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