summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-05-20 15:17:40 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-05-20 15:17:40 -0700
commit7aabc6d00645abd107d0571ca121cfdbbc043e4b (patch)
tree8fa0ea13b58443dfd1141d5fe71c1cb06ae36272 /include
parentcbd27635e12481b9f3eef2167ec62d111fdb4b70 (diff)
downloadconnman-7aabc6d00645abd107d0571ca121cfdbbc043e4b.tar.gz
connman-7aabc6d00645abd107d0571ca121cfdbbc043e4b.tar.bz2
connman-7aabc6d00645abd107d0571ca121cfdbbc043e4b.zip
Add option for selecting WiFi/Supplicant driver from command line
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am2
-rw-r--r--include/option.h35
2 files changed, 36 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index dce9b36b..86845acd 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -7,7 +7,7 @@ include_HEADERS = types.h log.h plugin.h security.h notifier.h \
nodist_include_HEADERS = version.h
noinst_HEADERS = driver.h element.h property.h ipv4.h rtnl.h dbus.h \
- resolver.h ipconfig.h service.h
+ resolver.h ipconfig.h service.h option.h
MAINTAINERCLEANFILES = Makefile.in
diff --git a/include/option.h b/include/option.h
new file mode 100644
index 00000000..b80c8c99
--- /dev/null
+++ b/include/option.h
@@ -0,0 +1,35 @@
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifndef __CONNMAN_OPTION_H
+#define __CONNMAN_OPTION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern const char *connman_option_get_string(const char *key);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __CONNMAN_OPTION_H */