xref: /dflybsd-src/contrib/wpa_supplicant/src/utils/browser.h (revision 3a84a4273475ed07d0ab1c2dfeffdfedef35d9cd)
1*a1157835SDaniel Fojt /*
2*a1157835SDaniel Fojt  * Hotspot 2.0 client - Web browser
3*a1157835SDaniel Fojt  * Copyright (c) 2013, Qualcomm Atheros, Inc.
4*a1157835SDaniel Fojt  *
5*a1157835SDaniel Fojt  * This software may be distributed under the terms of the BSD license.
6*a1157835SDaniel Fojt  * See README for more details.
7*a1157835SDaniel Fojt  */
8*a1157835SDaniel Fojt 
9*a1157835SDaniel Fojt #ifndef BROWSER_H
10*a1157835SDaniel Fojt #define BROWSER_H
11*a1157835SDaniel Fojt 
12*a1157835SDaniel Fojt #ifdef CONFIG_NO_BROWSER
hs20_web_browser(const char * url)13*a1157835SDaniel Fojt static inline int hs20_web_browser(const char *url)
14*a1157835SDaniel Fojt {
15*a1157835SDaniel Fojt 	return -1;
16*a1157835SDaniel Fojt }
17*a1157835SDaniel Fojt #else /* CONFIG_NO_BROWSER */
18*a1157835SDaniel Fojt int hs20_web_browser(const char *url);
19*a1157835SDaniel Fojt #endif /* CONFIG_NO_BROWSER */
20*a1157835SDaniel Fojt 
21*a1157835SDaniel Fojt #endif /* BROWSER_H */
22