summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2010-05-05 17:36:50 -0400
committerDavid Zeuthen <davidz@redhat.com>2010-05-05 17:36:50 -0400
commitc435c7d4ddace7fd69c691344f23a5eee670c5d6 (patch)
tree02655cf8dfda7e15a3a96d4ffe3da8b3b0e34aca
parent6121241262b7b3be2bd797b962e64cc7199ea354 (diff)
Add copyright headers to all examples
-rw-r--r--gdbus/example-own-name.c13
-rw-r--r--gdbus/example-peer.c13
-rw-r--r--gdbus/example-server.c12
-rw-r--r--gdbus/example-subtree.c12
-rw-r--r--gdbus/example-unix-fd-client.c12
-rw-r--r--gdbus/example-watch-name.c13
-rw-r--r--gdbus/example-watch-proxy.c13
7 files changed, 88 insertions, 0 deletions
diff --git a/gdbus/example-own-name.c b/gdbus/example-own-name.c
index 93f138b..980edfc 100644
--- a/gdbus/example-own-name.c
+++ b/gdbus/example-own-name.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
+
#include <gdbus/gdbus.h>
static void
diff --git a/gdbus/example-peer.c b/gdbus/example-peer.c
index 9640cfe..564ed1a 100644
--- a/gdbus/example-peer.c
+++ b/gdbus/example-peer.c
@@ -1,4 +1,17 @@
/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
+
+/*
Usage examples (modulo addresses / credentials).
diff --git a/gdbus/example-server.c b/gdbus/example-server.c
index 5b07fe8..363ae2a 100644
--- a/gdbus/example-server.c
+++ b/gdbus/example-server.c
@@ -1,3 +1,15 @@
+/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
#include <gdbus/gdbus.h>
#include <stdlib.h>
diff --git a/gdbus/example-subtree.c b/gdbus/example-subtree.c
index ba9d8d2..f646416 100644
--- a/gdbus/example-subtree.c
+++ b/gdbus/example-subtree.c
@@ -1,3 +1,15 @@
+/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
#include <gdbus/gdbus.h>
#include <stdlib.h>
diff --git a/gdbus/example-unix-fd-client.c b/gdbus/example-unix-fd-client.c
index 2a27097..e22f85d 100644
--- a/gdbus/example-unix-fd-client.c
+++ b/gdbus/example-unix-fd-client.c
@@ -1,3 +1,15 @@
+/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
#include <string.h>
#include <stdlib.h>
diff --git a/gdbus/example-watch-name.c b/gdbus/example-watch-name.c
index c907484..7330aa9 100644
--- a/gdbus/example-watch-name.c
+++ b/gdbus/example-watch-name.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
+
#include <gdbus/gdbus.h>
static gchar *opt_name = NULL;
diff --git a/gdbus/example-watch-proxy.c b/gdbus/example-watch-proxy.c
index 8528e78..781ac64 100644
--- a/gdbus/example-watch-proxy.c
+++ b/gdbus/example-watch-proxy.c
@@ -1,3 +1,16 @@
+/*
+ * Copyright © 2010 Red Hat, Inc.
+ *
+ * This program 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 licence or (at
+ * your option) any later version.
+ *
+ * See the included COPYING file for more information.
+ *
+ * Author: David Zeuthen <davidz@redhat.com>
+ */
+
#include <gdbus/gdbus.h>
static gchar *opt_name = NULL;