From: Radoslaw Pajak Date: Wed, 23 Oct 2013 13:53:01 +0000 (+0200) Subject: address for daemon changed to "kdbus:", licencses and copyrights added X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fdbus.git;a=commitdiff_plain;h=3f66aab9898cbfe1d7b35298f5729a0dc8fa6ed4 address for daemon changed to "kdbus:", licencses and copyrights added Change-Id: I9877a81b59f5c90d5510ae3cfa218e7ac414e9cf Signed-off-by: Radoslaw Pajak --- diff --git a/bus/activation.c b/bus/activation.c index cd77faa..adf71ab 100644 --- a/bus/activation.c +++ b/bus/activation.c @@ -4,6 +4,7 @@ * Copyright (C) 2003 CodeFactory AB * Copyright (C) 2003 Red Hat, Inc. * Copyright (C) 2004 Imendio HB + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/bus/bus.c b/bus/bus.c index 1dbe414..2fa54b6 100644 --- a/bus/bus.c +++ b/bus/bus.c @@ -2,6 +2,7 @@ /* bus.c message bus context object * * Copyright (C) 2003, 2004 Red Hat, Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * @@ -426,7 +427,7 @@ process_config_first_time_only (BusContext *context, if (address) { - if(!strcmp(_dbus_string_get_const_data(address), "kdbus")) + if(!strcmp(_dbus_string_get_const_data(address), "kdbus:")) { DBusBusType type; DBusServer* server; diff --git a/bus/connection.c b/bus/connection.c index 534ef6f..eeab273 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -2,6 +2,7 @@ /* connection.c Client connections * * Copyright (C) 2003 Red Hat, Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/bus/dispatch.c b/bus/dispatch.c index de956b4..fdeb6c1 100644 --- a/bus/dispatch.c +++ b/bus/dispatch.c @@ -4,6 +4,7 @@ * Copyright (C) 2003 CodeFactory AB * Copyright (C) 2003, 2004, 2005 Red Hat, Inc. * Copyright (C) 2004 Imendio HB + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/bus/driver.c b/bus/driver.c index 94c1a75..1ca6267 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -3,6 +3,7 @@ * * Copyright (C) 2003 CodeFactory AB * Copyright (C) 2003, 2004, 2005 Red Hat, Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/bus/kdbus-d.c b/bus/kdbus-d.c index a145673..a8bcf3d 100644 --- a/bus/kdbus-d.c +++ b/bus/kdbus-d.c @@ -1,10 +1,26 @@ -/* - * kdbus-d.c +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* kdbus-d.c kdbus related daemon functions + * + * Copyright (C) 2013 Samsung Electronics + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version and under the terms of the GNU + * Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at + * your option) any later version. * - * Created on: Sep 4, 2013 - * Author: r.pajak + * 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. * - * kdbus add-on to dbus daemon + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/bus/kdbus-d.h b/bus/kdbus-d.h index 1f06d37..57030b8 100644 --- a/bus/kdbus-d.h +++ b/bus/kdbus-d.h @@ -1,10 +1,26 @@ -/* - * kdbus-d.h +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* kdbus-d.h kdbus related daemon functions * - * Created on: Sep 4, 2013 - * Author: r.pajak + * Copyright (C) 2013 Samsung Electronics * - * kdbus add-on to dbus daemon + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version and under the terms of the GNU + * Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at + * your option) any later version. + * + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/bus/services.c b/bus/services.c index 6ef52de..98e24b3 100644 --- a/bus/services.c +++ b/bus/services.c @@ -3,6 +3,7 @@ * * Copyright (C) 2003 Red Hat, Inc. * Copyright (C) 2003 CodeFactory AB + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c index 3768cdb..129cf19 100644 --- a/dbus/dbus-auth.c +++ b/dbus/dbus-auth.c @@ -2,6 +2,7 @@ /* dbus-auth.c Authentication * * Copyright (C) 2002, 2003, 2004 Red Hat Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/dbus/dbus-auth.h b/dbus/dbus-auth.h index 3e335b8..30de4bd 100644 --- a/dbus/dbus-auth.h +++ b/dbus/dbus-auth.h @@ -2,6 +2,7 @@ /* dbus-auth.h Authentication * * Copyright (C) 2002 Red Hat Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c index a3c9843..dad7bc6 100644 --- a/dbus/dbus-bus.c +++ b/dbus/dbus-bus.c @@ -3,6 +3,7 @@ * * Copyright (C) 2003 CodeFactory AB * Copyright (C) 2003 Red Hat, Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index d5eadb7..b8d89d0 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2,6 +2,7 @@ /* dbus-connection.c DBusConnection object * * Copyright (C) 2002-2006 Red Hat Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * @@ -3286,7 +3287,7 @@ dbus_connection_send_preallocated (DBusConnection *connection, } #endif - _dbus_verbose ("Reply sender: %s, destination: %s\n", dbus_message_get_sender(message), dbus_message_get_destination(message)); //todo kdbus temp addon + _dbus_connection_send_preallocated_and_unlock (connection, preallocated, message, client_serial); diff --git a/dbus/dbus-transport-kdbus.c b/dbus/dbus-transport-kdbus.c index e7c37a2..3a50075 100644 --- a/dbus/dbus-transport-kdbus.c +++ b/dbus/dbus-transport-kdbus.c @@ -1,17 +1,31 @@ -/* - * dbus-transport-kdbus.c +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* dbus-transport-kdbus.c kdbus subclasses of DBusTransport + * + * Copyright (C) 2002, 2003, 2004, 2006 Red Hat Inc + * Copyright (C) 2013 Samsung Electronics * - * Transport layer using kdbus + * Licensed under the Academic Free License version 2.1 * - * Created on: Jun 20, 2013 - * Author: r.pajak + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version and under the terms of the GNU + * Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at + * your option) any later version. * + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA * */ - #include "dbus-transport.h" #include "dbus-transport-kdbus.h" -//#include #include "dbus-transport-protected.h" #include "dbus-connection-internal.h" #include "kdbus.h" diff --git a/dbus/dbus-transport-kdbus.h b/dbus/dbus-transport-kdbus.h index 098ceaa..8c37017 100644 --- a/dbus/dbus-transport-kdbus.h +++ b/dbus/dbus-transport-kdbus.h @@ -1,4 +1,29 @@ - +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* dbus-transport-kdbus.h kdbus subclasses of DBusTransport + * + * Copyright (C) 2002, 2006 Red Hat Inc. + * Copyright (C) 2013 Samsung Electronics + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version and under the terms of the GNU + * Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at + * your option) any later version. + * + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ #ifndef DBUS_TRANSPORT_KDBUS_H_ #define DBUS_TRANSPORT_KDBUS_H_ diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c index 8957962..78b880d 100644 --- a/dbus/dbus-transport.c +++ b/dbus/dbus-transport.c @@ -2,6 +2,7 @@ /* dbus-transport.c DBusTransport object (internal to D-Bus implementation) * * Copyright (C) 2002, 2003 Red Hat Inc. + * Copyright (C) 2013 Samsung Electronics * * Licensed under the Academic Free License version 2.1 * diff --git a/dbus/kdbus-common.c b/dbus/kdbus-common.c index de618ed..6356bec 100644 --- a/dbus/kdbus-common.c +++ b/dbus/kdbus-common.c @@ -1,12 +1,28 @@ -/* - * kdbus_common.c +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* kdbus-common.c kdbus related utils for daemon and libdbus * - * Created on: Sep 13, 2013 - * Author: r.pajak + * Copyright (C) 2013 Samsung Electronics + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version and under the terms of the GNU + * Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at + * your option) any later version. + * + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA * - * Kdbus internal util functions used by daemon and libdbus */ - #include "kdbus.h" #include "kdbus-common.h" #include diff --git a/dbus/kdbus-common.h b/dbus/kdbus-common.h index 93cd726..4a50ed0 100644 --- a/dbus/kdbus-common.h +++ b/dbus/kdbus-common.h @@ -1,10 +1,27 @@ -/* - * kdbus_common.h +/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* kdbus-common.h kdbus related utils for daemon and libdbus * - * Created on: Sep 13, 2013 - * Author: r.pajak + * Copyright (C) 2013 Samsung Electronics + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version and under the terms of the GNU + * Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or (at + * your option) any later version. + * + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA * - * Kdbus internal util functions used by daemon and libdbus */ #ifndef KDBUS_COMMON_H_ diff --git a/dbus/kdbus.h b/dbus/kdbus.h index 4e4c2cb..7eb9527 100644 --- a/dbus/kdbus.h +++ b/dbus/kdbus.h @@ -4,6 +4,7 @@ * Copyright (C) 2013 Linux Foundation * Copyright (C) 2013 Lennart Poettering * Copyright (C) 2013 Daniel Mack + * Copyright (C) 2013 Samsung Electronics * * kdbus is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the