browser.h revision d5dc24eb5fbf0e0feff214c0260cae845721d5fe
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
13static inline int hs20_web_browser(const char *url)
14{
15	return -1;
16}
17#else /* CONFIG_NO_BROWSER */
18int hs20_web_browser(const char *url);
19#endif /* CONFIG_NO_BROWSER */
20
21#endif /* BROWSER_H */
22