xref: /netbsd-src/external/bsd/wpa/dist/src/utils/browser.h (revision bb6183629cf165db498d8e1f4e2de129f7efb21c)
13c260e60Schristos /*
23c260e60Schristos  * Hotspot 2.0 client - Web browser
33c260e60Schristos  * Copyright (c) 2013, Qualcomm Atheros, Inc.
43c260e60Schristos  *
53c260e60Schristos  * This software may be distributed under the terms of the BSD license.
63c260e60Schristos  * See README for more details.
73c260e60Schristos  */
83c260e60Schristos 
93c260e60Schristos #ifndef BROWSER_H
103c260e60Schristos #define BROWSER_H
113c260e60Schristos 
123c260e60Schristos #ifdef CONFIG_NO_BROWSER
13*bb618362Schristos static inline int hs20_web_browser(const char *url, int ignore_tls)
143c260e60Schristos {
153c260e60Schristos 	return -1;
163c260e60Schristos }
173c260e60Schristos #else /* CONFIG_NO_BROWSER */
18*bb618362Schristos int hs20_web_browser(const char *url, int ignore_tls);
193c260e60Schristos #endif /* CONFIG_NO_BROWSER */
203c260e60Schristos 
213c260e60Schristos #endif /* BROWSER_H */
22