xref: /freebsd/contrib/wpa/src/utils/browser.h (revision 0b57cec536236d46e3dba9bd041533462f33dbb7)
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)
14 {
15 	return -1;
16 }
17 #else /* CONFIG_NO_BROWSER */
18 int hs20_web_browser(const char *url);
19 #endif /* CONFIG_NO_BROWSER */
20 
21 #endif /* BROWSER_H */
22