summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@canonical.com>2011-01-28 17:02:30 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-28 16:19:58 +0100
commitdb075ce314d647680cce30d97fc174a3aee02f77 (patch)
treedd0347633f0b2db9100380860128ba623f3e9c1f /src/connman.h
parent0b0bab94933479157499833d728060c27a07f9da (diff)
downloadconnman-db075ce314d647680cce30d97fc174a3aee02f77.tar.gz
connman-db075ce314d647680cce30d97fc174a3aee02f77.tar.bz2
connman-db075ce314d647680cce30d97fc174a3aee02f77.zip
manager: Remove network-manager compatibility code
Remove the network-manager compatibility code from src/manager.c so that all this can be implemented as a plugin. -c command line switch is still left but marked as obsole to avoid breaking current start scripts. By removing the switch connman would not start at all if -c is used.
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/connman.h b/src/connman.h
index 972c435d..979c5646 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -25,10 +25,6 @@
#include <connman/dbus.h>
-#define NM_SERVICE "org.freedesktop.NetworkManager"
-#define NM_PATH "/org/freedesktop/NetworkManager"
-#define NM_INTERFACE NM_SERVICE
-
int __connman_dbus_init(DBusConnection *conn);
void __connman_dbus_cleanup(void);
@@ -55,7 +51,7 @@ DBusMessage *__connman_error_invalid_property(DBusMessage *msg);
#include <connman/types.h>
-int __connman_manager_init(gboolean compat);
+int __connman_manager_init(void);
void __connman_manager_cleanup(void);
int __connman_agent_init(void);