xref: /freebsd/contrib/wpa/src/utils/browser.h (revision c1d255d3ffdbe447de3ab875bf4e7d7accc5bfc5)
15b9c547cSRui Paulo /*
25b9c547cSRui Paulo  * Hotspot 2.0 client - Web browser
35b9c547cSRui Paulo  * Copyright (c) 2013, Qualcomm Atheros, Inc.
45b9c547cSRui Paulo  *
55b9c547cSRui Paulo  * This software may be distributed under the terms of the BSD license.
65b9c547cSRui Paulo  * See README for more details.
75b9c547cSRui Paulo  */
85b9c547cSRui Paulo 
95b9c547cSRui Paulo #ifndef BROWSER_H
105b9c547cSRui Paulo #define BROWSER_H
115b9c547cSRui Paulo 
125b9c547cSRui Paulo #ifdef CONFIG_NO_BROWSER
hs20_web_browser(const char * url,int ignore_tls)13*c1d255d3SCy Schubert static inline int hs20_web_browser(const char *url, int ignore_tls)
145b9c547cSRui Paulo {
155b9c547cSRui Paulo 	return -1;
165b9c547cSRui Paulo }
175b9c547cSRui Paulo #else /* CONFIG_NO_BROWSER */
18*c1d255d3SCy Schubert int hs20_web_browser(const char *url, int ignore_tls);
195b9c547cSRui Paulo #endif /* CONFIG_NO_BROWSER */
205b9c547cSRui Paulo 
215b9c547cSRui Paulo #endif /* BROWSER_H */
22