This email list is read-only. Emails sent to this list will be discarded ---------------------------------- .gitignore | 1 + README | 6 ++-- client/main.c | 2 +- gdbus/gdbus.h | 2 +- gdbus/mainloop.c | 2 +- gdbus/object.c | 2 +- gdbus/watch.c | 2 +- include/dbus.h | 2 +- include/device.h | 9 +++-- include/driver.h | 2 +- include/element.h | 3 +- include/ipv4.h | 2 +- include/log.h | 2 +- include/network.h | 2 +- include/plugin.h | 2 +- include/property.h | 2 +- include/resolver.h | 2 +- include/rtnl.h | 2 +- include/security.h | 2 +- include/types.h | 2 +- plugins/Makefile.am | 8 ++--- plugins/bluetooth.c | 4 +- plugins/dhclient.c | 2 +- plugins/dnsproxy.c | 2 +- plugins/ethernet.c | 2 +- plugins/fake.c | 2 +- plugins/hso.c | 2 +- plugins/inet.c | 2 +- plugins/inet.h | 2 +- plugins/ipv4.c | 2 +- plugins/loopback.c | 2 +- plugins/modem.c | 2 +- plugins/modem.h | 2 +- plugins/netdev.c | 88 --------------------------------------------- plugins/polkit.c | 2 +- plugins/pppd.c | 2 +- plugins/resolvconf.c | 2 +- plugins/resolvfile.c | 2 +- plugins/supplicant.c | 2 +- plugins/supplicant.h | 2 +- plugins/task.c | 2 +- plugins/task.h | 2 +- plugins/udhcp.c | 2 +- plugins/wifi.c | 4 +- scripts/dhclient-script.c | 2 +- scripts/pppd-plugin.c | 2 +- scripts/udhcpc-script.c | 2 +- src/Makefile.am | 12 +++++-- src/agent.c | 2 +- src/connman.h | 5 ++- src/connman.rules | 6 +++ src/dbus.c | 2 +- src/detect.c | 40 ++++++++++++++------ src/device.c | 79 ++++++++++++++++++++++++++++++---------- src/element.c | 11 +----- src/error.c | 2 +- src/log.c | 2 +- src/main.c | 4 ++- src/manager.c | 2 +- src/network.c | 27 +++++++++++--- src/plugin.c | 2 +- src/profile.c | 2 +- src/resolver.c | 2 +- src/rtnl.c | 2 +- src/security.c | 2 +- src/selftest.c | 2 +- src/storage.c | 5 +-- src/udev.c | 87 +++++++++++++++++++++++++++++++++++++++++++- 68 files changed, 287 insertions(+), 212 deletions(-)
New commits: commit e44c851c368936f756d1c6b9aa20d3607a4af33c Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 21:06:15 2009 +0100 Add basic support for monitoring udev events commit d7415ae9768d6bb51145ffc5327d78f1dd33aeff Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 20:19:24 2009 +0100 Add udev rules definitions commit ee0c975fd361a75584040cc245ee5b4dbe6da381 Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 20:01:19 2009 +0100 Fix uninitialized varible warnings commit f89b202b68eaf920e969e155aee2f40f5b063c45 Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 19:46:14 2009 +0100 Don't use default for enum based switch statements commit 98ffc630a2e7a982174f698fc99c6c905e4896a9 Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 19:45:18 2009 +0100 Fix subtype conversion for networks commit 991fe1e5f6458aa30ee82ad73b2f0411b74b1d3e Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 19:28:12 2009 +0100 Update copyright information commit bffaaf7bd6f31a0c873d358bc0119e2de9f55a9c Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 19:07:00 2009 +0100 Remove deprecated network subtype commit 3909f166fb41fba2521bf84ed5fc87d367c163b8 Author: Marcel Holtmann <[email protected]> Date: Thu Jan 1 18:52:16 2009 +0100 Allow transport definition for device mode Diff in this email is a maximum of 400 lines. diff --git a/.gitignore b/.gitignore index 9c29734..cff6472 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ src/connmand src/connman.exp src/connman.ver src/connman.service +src/*-connman.rules scripts/connman scripts/udhcpc-script scripts/dhclient-script diff --git a/README b/README index 9b6402a..70e8826 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Connection Manager ****************** -Copyright (C) 2007-2008 Intel Corporation. All rights reserved. +Copyright (C) 2007-2009 Intel Corporation. All rights reserved. Compilation and installation @@ -16,8 +16,8 @@ In order to compile Connection Manager you need following software packages: To configure run: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var - -Configure automatically searches for all required components and packages. + +Configure automatically searches for all required components and packages. To compile and install run: make && make install diff --git a/client/main.c b/client/main.c index bb1c39f..b317c9c 100644 --- a/client/main.c +++ b/client/main.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index e0d653a..fa618a5 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -2,7 +2,7 @@ * * D-Bus helper library * - * Copyright (C) 2004-2008 Marcel Holtmann <[email protected]> + * Copyright (C) 2004-2009 Marcel Holtmann <[email protected]> * * * This program is free software; you can redistribute it and/or modify diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c index 9e49326..eaba42e 100644 --- a/gdbus/mainloop.c +++ b/gdbus/mainloop.c @@ -2,7 +2,7 @@ * * D-Bus helper library * - * Copyright (C) 2004-2008 Marcel Holtmann <[email protected]> + * Copyright (C) 2004-2009 Marcel Holtmann <[email protected]> * * * This program is free software; you can redistribute it and/or modify diff --git a/gdbus/object.c b/gdbus/object.c index a41617d..0786aeb 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -2,7 +2,7 @@ * * D-Bus helper library * - * Copyright (C) 2004-2008 Marcel Holtmann <[email protected]> + * Copyright (C) 2004-2009 Marcel Holtmann <[email protected]> * * * This program is free software; you can redistribute it and/or modify diff --git a/gdbus/watch.c b/gdbus/watch.c index ec3be64..38bf3d7 100644 --- a/gdbus/watch.c +++ b/gdbus/watch.c @@ -2,7 +2,7 @@ * * D-Bus helper library * - * Copyright (C) 2004-2008 Marcel Holtmann <[email protected]> + * Copyright (C) 2004-2009 Marcel Holtmann <[email protected]> * * * This program is free software; you can redistribute it and/or modify diff --git a/include/dbus.h b/include/dbus.h index a0fe3fd..895a96d 100644 --- a/include/dbus.h +++ b/include/dbus.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/device.h b/include/device.h index c9f6d76..9487b70 100644 --- a/include/device.h +++ b/include/device.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 @@ -46,9 +46,10 @@ enum connman_device_type { }; enum connman_device_mode { - CONNMAN_DEVICE_MODE_NO_NETWORK = 0, - CONNMAN_DEVICE_MODE_SINGLE_NETWORK = 1, - CONNMAN_DEVICE_MODE_MULTIPLE_NETWORKS = 2, + CONNMAN_DEVICE_MODE_UNKNOWN = 0, + CONNMAN_DEVICE_MODE_NETWORK_SINGLE = 1, + CONNMAN_DEVICE_MODE_NETWORK_MULTIPLE = 2, + CONNMAN_DEVICE_MODE_TRANSPORT_IP = 3, }; enum connman_device_policy { diff --git a/include/driver.h b/include/driver.h index 696c53f..2932d4d 100644 --- a/include/driver.h +++ b/include/driver.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/element.h b/include/element.h index 92f642f..7e7774b 100644 --- a/include/element.h +++ b/include/element.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 @@ -71,7 +71,6 @@ enum connman_element_type { enum connman_element_subtype { CONNMAN_ELEMENT_SUBTYPE_UNKNOWN = 0, CONNMAN_ELEMENT_SUBTYPE_FAKE = 1, - CONNMAN_ELEMENT_SUBTYPE_NETWORK = 2, CONNMAN_ELEMENT_SUBTYPE_ETHERNET = 3, CONNMAN_ELEMENT_SUBTYPE_WIFI = 4, CONNMAN_ELEMENT_SUBTYPE_WIMAX = 5, diff --git a/include/ipv4.h b/include/ipv4.h index 3cbf85b..2f57d0c 100644 --- a/include/ipv4.h +++ b/include/ipv4.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/log.h b/include/log.h index 81a5bc4..e9ee8e4 100644 --- a/include/log.h +++ b/include/log.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/network.h b/include/network.h index 8dab190..b0138f4 100644 --- a/include/network.h +++ b/include/network.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/plugin.h b/include/plugin.h index cbd1c12..11a0609 100644 --- a/include/plugin.h +++ b/include/plugin.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/property.h b/include/property.h index fe734c2..35dbe5c 100644 --- a/include/property.h +++ b/include/property.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/resolver.h b/include/resolver.h index d849e08..d5fefe9 100644 --- a/include/resolver.h +++ b/include/resolver.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/rtnl.h b/include/rtnl.h index 5637fb9..dcab14d 100644 --- a/include/rtnl.h +++ b/include/rtnl.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/security.h b/include/security.h index a780632..123e6fb 100644 --- a/include/security.h +++ b/include/security.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/include/types.h b/include/types.h index f99ff07..648fee1 100644 --- a/include/types.h +++ b/include/types.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 045c3f0..78e6b44 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -1,14 +1,12 @@ plugindir = $(libdir)/connman/plugins -plugin_LTLIBRARIES = loopback.la netdev.la ethernet.la wifi.la \ - bluetooth.la hso.la udhcp.la dhclient.la ipv4.la \ - dnsproxy.la resolvconf.la resolvfile.la +plugin_LTLIBRARIES = loopback.la ethernet.la wifi.la bluetooth.la hso.la \ + udhcp.la dhclient.la ipv4.la dnsproxy.la \ + resolvconf.la resolvfile.la loopback_la_SOURCES = loopback.c -netdev_la_SOURCES = netdev.c - ethernet_la_SOURCES = ethernet.c inet.h inet.c wifi_la_SOURCES = wifi.c inet.h inet.c supplicant.h supplicant.c diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 8f90a98..5bde01d 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 @@ -627,7 +627,7 @@ static void adapter_properties(DBusConnection *connection, const char *path, connman_device_set_interface(adapter, node); connman_device_set_policy(adapter, CONNMAN_DEVICE_POLICY_MANUAL); - connman_device_set_mode(adapter, CONNMAN_DEVICE_MODE_MULTIPLE_NETWORKS); + connman_device_set_mode(adapter, CONNMAN_DEVICE_MODE_NETWORK_MULTIPLE); if (connman_device_register(adapter) < 0) { connman_device_unref(adapter); diff --git a/plugins/dhclient.c b/plugins/dhclient.c index 20de09a..cb0e875 100644 --- a/plugins/dhclient.c +++ b/plugins/dhclient.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/plugins/dnsproxy.c b/plugins/dnsproxy.c index e8df6bf..c97553d 100644 --- a/plugins/dnsproxy.c +++ b/plugins/dnsproxy.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/plugins/ethernet.c b/plugins/ethernet.c index 434e3b7..1ddf1fa 100644 --- a/plugins/ethernet.c +++ b/plugins/ethernet.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/plugins/fake.c b/plugins/fake.c index 33165da..b2e4b0f 100644 --- a/plugins/fake.c +++ b/plugins/fake.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * 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 diff --git a/plugins/hso.c b/plugins/hso.c index 98708dd..bf7c2b3 100644 --- a/plugins/hso.c +++ b/plugins/hso.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
