Rename OSPM plugin to Intel OSPM plugin
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 9 Mar 2009 13:12:45 +0000 (14:12 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 9 Mar 2009 13:12:45 +0000 (14:12 +0100)
bootstrap-configure
configure.ac
plugins/Makefile.am
plugins/iospm.c [new file with mode: 0644]
plugins/ospm.c [deleted file]

index 90e6947..21a6879 100755 (executable)
@@ -31,6 +31,6 @@ fi
                --enable-hso \
                --enable-ppp \
                --enable-udev \
-               --enable-ospm \
+               --enable-iospm \
                --enable-polkit \
                --enable-client $*
index 0e4be13..ac7de69 100644 (file)
@@ -205,9 +205,9 @@ AC_SUBST(UDEV_CFLAGS)
 AC_SUBST(UDEV_LIBS)
 AM_CONDITIONAL(UDEV, test "${enable_udev}" = "yes")
 
-AC_ARG_ENABLE(ospm, AC_HELP_STRING([--enable-ospm],
-               [enable OSPM support]), [enable_ospm=${enableval}])
-AM_CONDITIONAL(OSPM, test "${enable_ospm}" = "yes")
+AC_ARG_ENABLE(iospm, AC_HELP_STRING([--enable-iospm],
+               [enable Intel OSPM support]), [enable_iospm=${enableval}])
+AM_CONDITIONAL(IOSPM, test "${enable_iospm}" = "yes")
 
 AC_ARG_ENABLE(polkit, AC_HELP_STRING([--enable-polkit],
                [enable PolicyKit support]), [enable_polkit=${enableval}])
index fec81d5..443b2c1 100644 (file)
@@ -103,11 +103,11 @@ policy_DATA = connman.policy
 endif
 endif
 
-if OSPM
-plugin_LTLIBRARIES += ospm.la
+if IOSPM
+plugin_LTLIBRARIES += iospm.la
 
-polkit_la_SOURCES = ospm.c
-polkit_la_CFLAGS = $(AM_CFLAGS)
+iospm_la_SOURCES = iospm.c
+iospm_la_CFLAGS = $(AM_CFLAGS)
 endif
 
 if FAKE
diff --git a/plugins/iospm.c b/plugins/iospm.c
new file mode 100644 (file)
index 0000000..ead675e
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ *
+ *  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/log.h>
+
+static int iospm_init(void)
+{
+       return 0;
+}
+
+static void iospm_exit(void)
+{
+}
+
+CONNMAN_PLUGIN_DEFINE(ospm, "Intel OSPM notification plugin", VERSION,
+               CONNMAN_PLUGIN_PRIORITY_DEFAULT, iospm_init, iospm_exit)
diff --git a/plugins/ospm.c b/plugins/ospm.c
deleted file mode 100644 (file)
index 7d2ebf5..0000000
+++ /dev/null
@@ -1,40 +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/log.h>
-
-static int ospm_init(void)
-{
-       return 0;
-}
-
-static void ospm_exit(void)
-{
-}
-
-CONNMAN_PLUGIN_DEFINE(ospm, "OSPM notification plugin", VERSION,
-               CONNMAN_PLUGIN_PRIORITY_DEFAULT, ospm_init, ospm_exit)