[rygel] examples: Add license and doc for server example



commit bec00ca19183eef28a126d91e44131db00031ef9
Author: Jens Georg <mail jensge org>
Date:   Thu Aug 30 20:22:29 2012 +0200

    examples: Add license and doc for server example

 examples/standalone-server.c |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/examples/standalone-server.c b/examples/standalone-server.c
index 726e92c..254b73f 100644
--- a/examples/standalone-server.c
+++ b/examples/standalone-server.c
@@ -1,3 +1,36 @@
+/*
+ * Copyright (C) 2012 Openismus GmbH.
+ *
+ * Author: Jens Georg <jensg openismus com>
+ *
+ * This file is part of Rygel.
+ *
+ * Rygel 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.
+ *
+ * Rygel 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Demo application for librygel-server.
+ *
+ * Creates a stand-aline UPnP server that exposes the contents of the current
+ * folder or the folder passed as argument.
+ *
+ * Usage:
+ *   standalone-server [<folder>]
+ *
+ * The server listens on wlan0 and eth0 by default.
+ */
 
 #include <gio/gio.h>
 #include <rygel-server.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]