summaryrefslogtreecommitdiff
path: root/plugins/loopback.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-06 00:08:47 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-06 00:08:47 +0100
commit555b6e45c2746818d2c2a8816b4069c7b4a967f9 (patch)
tree44d8d84e37b0fb8fc90614d3fdf72af691012332 /plugins/loopback.c
parentdc904e17f98346d1d233dc090c3195c33ff5f71d (diff)
downloadconnman-555b6e45c2746818d2c2a8816b4069c7b4a967f9.tar.gz
connman-555b6e45c2746818d2c2a8816b4069c7b4a967f9.tar.bz2
connman-555b6e45c2746818d2c2a8816b4069c7b4a967f9.zip
Add skeleton for loopback setup plugin
Diffstat (limited to 'plugins/loopback.c')
-rw-r--r--plugins/loopback.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/loopback.c b/plugins/loopback.c
new file mode 100644
index 00000000..255d2bf4
--- /dev/null
+++ b/plugins/loopback.c
@@ -0,0 +1,38 @@
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2008 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
+
+#include <connman/plugin.h>
+
+static int loopback_init(void)
+{
+ return 0;
+}
+
+static void loopback_exit(void)
+{
+}
+
+CONNMAN_PLUGIN_DEFINE("loopback", "Loopback device plugin", VERSION,
+ loopback_init, loopback_exit)