summaryrefslogtreecommitdiff
path: root/plugins/iwmxsdk.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:26:00 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:26:00 +0100
commit74ff14b1fb654a877a66e8b4db66d3f8c4c94baa (patch)
tree36045719a6cc0d1444db02c974731ab9d25211d8 /plugins/iwmxsdk.c
parentdd0678d005a28c3936f04dcbafb481fc80f0bea8 (diff)
downloadconnman-74ff14b1fb654a877a66e8b4db66d3f8c4c94baa.tar.gz
connman-74ff14b1fb654a877a66e8b4db66d3f8c4c94baa.tar.bz2
connman-74ff14b1fb654a877a66e8b4db66d3f8c4c94baa.zip
Rename WiMAX plugin to Intel WiMAX SDK plugin
Diffstat (limited to 'plugins/iwmxsdk.c')
-rw-r--r--plugins/iwmxsdk.c77
1 files changed, 77 insertions, 0 deletions
diff --git a/plugins/iwmxsdk.c b/plugins/iwmxsdk.c
new file mode 100644
index 00000000..c30004f7
--- /dev/null
+++ b/plugins/iwmxsdk.c
@@ -0,0 +1,77 @@
+/*
+ *
+ * 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
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#define CONNMAN_API_SUBJECT_TO_CHANGE
+#include <connman/plugin.h>
+#include <connman/device.h>
+#include <connman/log.h>
+
+static int iwmxsdk_probe(struct connman_device *device)
+{
+ DBG("device %p", device);
+
+ return 0;
+}
+
+static void iwmxsdk_remove(struct connman_device *device)
+{
+ DBG("device %p", device);
+}
+
+static int iwmxsdk_enable(struct connman_device *device)
+{
+ DBG("device %p", device);
+
+ return 0;
+}
+
+static int iwmxsdk_disable(struct connman_device *device)
+{
+ DBG("device %p", device);
+
+ return 0;
+}
+
+static struct connman_device_driver iwmxsdk_driver = {
+ .name = "iwmxsdk",
+ .type = CONNMAN_DEVICE_TYPE_WIMAX,
+ .probe = iwmxsdk_probe,
+ .remove = iwmxsdk_remove,
+ .enable = iwmxsdk_enable,
+ .disable = iwmxsdk_disable,
+};
+
+static int iwmxsdk_init(void)
+{
+ return connman_device_driver_register(&iwmxsdk_driver);
+}
+
+static void iwmxsdk_exit(void)
+{
+ connman_device_driver_unregister(&iwmxsdk_driver);
+}
+
+CONNMAN_PLUGIN_DEFINE(iwmxsdk, "Intel WiMAX interface plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, iwmxsdk_init, iwmxsdk_exit)