summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-06 21:57:14 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-12-06 21:57:14 +0100
commitb16b4b09126d1a4ef6274023c5b86b4d38a3794c (patch)
treee93cbcfa3aaf5bf76200e3fd3569eae7af882aab /plugins
parent825eb18ed77f347a6e178d67f547ad867214ebb2 (diff)
downloadconnman-b16b4b09126d1a4ef6274023c5b86b4d38a3794c.tar.gz
connman-b16b4b09126d1a4ef6274023c5b86b4d38a3794c.tar.bz2
connman-b16b4b09126d1a4ef6274023c5b86b4d38a3794c.zip
Remove unfinished and unneeded PPP support
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pppd.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/plugins/pppd.c b/plugins/pppd.c
deleted file mode 100644
index bd026b9b..00000000
--- a/plugins/pppd.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- *
- * 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/driver.h>
-#include <connman/log.h>
-
-static int pppd_probe(struct connman_element *element)
-{
- DBG("element %p name %s", element, element->name);
-
- return -ENODEV;
-}
-
-static void pppd_remove(struct connman_element *element)
-{
- DBG("element %p name %s", element, element->name);
-}
-
-static struct connman_driver pppd_driver = {
- .name = "pppd",
- .type = CONNMAN_ELEMENT_TYPE_PPP,
- .probe = pppd_probe,
- .remove = pppd_remove,
-};
-
-static int pppd_init(void)
-{
- return connman_driver_register(&pppd_driver);
-}
-
-static void pppd_exit(void)
-{
- connman_driver_unregister(&pppd_driver);
-}
-
-CONNMAN_PLUGIN_DEFINE(pppd, "Point-to-point protocol plugin", VERSION,
- CONNMAN_PLUGIN_PRIORITY_DEFAULT, pppd_init, pppd_exit)