summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2021-05-30 12:39:04 +0200
committerJens Georg <mail@jensge.org>2021-06-09 23:55:54 +0200
commit37b22d0a050842d91dc64678518c425b1e2a3451 (patch)
treebdd4d0527bcfeca2263b3997d556dc1942c43343 /examples
parent04d0def9b0803547163fbf3f3595b3dc905e6cd5 (diff)
downloadgupnp-37b22d0a050842d91dc64678518c425b1e2a3451.tar.gz
all: LGPL-2.0 -> LGPL-2.1
Also, drop the wall of license text and use the SPDX identifier
Diffstat (limited to 'examples')
-rw-r--r--examples/test-browsing.c15
-rw-r--r--examples/test-proxy.c15
-rw-r--r--examples/test-server.c15
-rw-r--r--examples/test-white-list.c16
4 files changed, 5 insertions, 56 deletions
diff --git a/examples/test-browsing.c b/examples/test-browsing.c
index 1dd4560..89d36f9 100644
--- a/examples/test-browsing.c
+++ b/examples/test-browsing.c
@@ -3,20 +3,7 @@
*
* Author: Jorn Baayen <jorn@openedhand.com>
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include <libgupnp/gupnp-control-point.h>
diff --git a/examples/test-proxy.c b/examples/test-proxy.c
index bbf44d6..41570e1 100644
--- a/examples/test-proxy.c
+++ b/examples/test-proxy.c
@@ -3,20 +3,7 @@
*
* Author: Jorn Baayen <jorn@openedhand.com>
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include <libgupnp/gupnp-control-point.h>
diff --git a/examples/test-server.c b/examples/test-server.c
index 940f8d9..1164d3d 100644
--- a/examples/test-server.c
+++ b/examples/test-server.c
@@ -3,20 +3,7 @@
*
* Author: Jorn Baayen <jorn@openedhand.com>
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include <libgupnp/gupnp-root-device.h>
diff --git a/examples/test-white-list.c b/examples/test-white-list.c
index 7e8624a..41ff014 100644
--- a/examples/test-white-list.c
+++ b/examples/test-white-list.c
@@ -3,20 +3,7 @@
*
* Author: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
*
- * This library 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 Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include <libgupnp/gupnp-control-point.h>
@@ -183,6 +170,7 @@ print_white_list_entries(GUPnPWhiteList *wl)
g_print ("\n");
}
+
static gboolean
change_white_list(gpointer user_data)
{