summaryrefslogtreecommitdiff
path: root/src/utils/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/browser.h')
-rw-r--r--src/utils/browser.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/utils/browser.h b/src/utils/browser.h
new file mode 100644
index 000000000000..aaa0eed269f7
--- /dev/null
+++ b/src/utils/browser.h
@@ -0,0 +1,21 @@
+/*
+ * Hotspot 2.0 client - Web browser
+ * Copyright (c) 2013, Qualcomm Atheros, Inc.
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#ifndef BROWSER_H
+#define BROWSER_H
+
+#ifdef CONFIG_NO_BROWSER
+static inline int hs20_web_browser(const char *url)
+{
+ return -1;
+}
+#else /* CONFIG_NO_BROWSER */
+int hs20_web_browser(const char *url);
+#endif /* CONFIG_NO_BROWSER */
+
+#endif /* BROWSER_H */