summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:12:45 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:12:45 +0100
commitdd0678d005a28c3936f04dcbafb481fc80f0bea8 (patch)
treea60f65a0edd48fa3ccc3ca6814b002003701f059
parenta31c992485e05a28d70c467c3d0a7f8763698ecc (diff)
downloadconnman-dd0678d005a28c3936f04dcbafb481fc80f0bea8.tar.gz
connman-dd0678d005a28c3936f04dcbafb481fc80f0bea8.tar.bz2
connman-dd0678d005a28c3936f04dcbafb481fc80f0bea8.zip
Rename OSPM plugin to Intel OSPM plugin
-rwxr-xr-xbootstrap-configure2
-rw-r--r--configure.ac6
-rw-r--r--plugins/Makefile.am8
-rw-r--r--plugins/iospm.c (renamed from plugins/ospm.c)8
4 files changed, 12 insertions, 12 deletions
diff --git a/bootstrap-configure b/bootstrap-configure
index 90e6947f..21a68793 100755
--- a/bootstrap-configure
+++ b/bootstrap-configure
@@ -31,6 +31,6 @@ fi
--enable-hso \
--enable-ppp \
--enable-udev \
- --enable-ospm \
+ --enable-iospm \
--enable-polkit \
--enable-client $*
diff --git a/configure.ac b/configure.ac
index 0e4be13f..ac7de69c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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}])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index fec81d58..443b2c1e 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -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/ospm.c b/plugins/iospm.c
index 7d2ebf5f..ead675e2 100644
--- a/plugins/ospm.c
+++ b/plugins/iospm.c
@@ -27,14 +27,14 @@
#include <connman/plugin.h>
#include <connman/log.h>
-static int ospm_init(void)
+static int iospm_init(void)
{
return 0;
}
-static void ospm_exit(void)
+static void iospm_exit(void)
{
}
-CONNMAN_PLUGIN_DEFINE(ospm, "OSPM notification plugin", VERSION,
- CONNMAN_PLUGIN_PRIORITY_DEFAULT, ospm_init, ospm_exit)
+CONNMAN_PLUGIN_DEFINE(ospm, "Intel OSPM notification plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, iospm_init, iospm_exit)