uhttpd: everybody loves licences, add one
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 20 Mar 2010 14:10:03 +0000 (14:10 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 20 Mar 2010 14:10:03 +0000 (14:10 +0000)
13 files changed:
contrib/package/uhttpd/src/uhttpd-cgi.c
contrib/package/uhttpd/src/uhttpd-cgi.h
contrib/package/uhttpd/src/uhttpd-file.c
contrib/package/uhttpd/src/uhttpd-file.h
contrib/package/uhttpd/src/uhttpd-lua.c
contrib/package/uhttpd/src/uhttpd-lua.h
contrib/package/uhttpd/src/uhttpd-mimetypes.h
contrib/package/uhttpd/src/uhttpd-tls.c
contrib/package/uhttpd/src/uhttpd-tls.h
contrib/package/uhttpd/src/uhttpd-utils.c
contrib/package/uhttpd/src/uhttpd-utils.h
contrib/package/uhttpd/src/uhttpd.c
contrib/package/uhttpd/src/uhttpd.h

index 6bab9a40963eb2ed2ca54dce4708e09d4d057102..7b3337d74811588d5f71237e182bdc1d0d6a57f6 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - CGI handler
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #include "uhttpd.h"
 #include "uhttpd-utils.h"
 #include "uhttpd-cgi.h"
index c505076f4f5d1ea6b9e2d54205b16f03e1694b97..1a73d88ed057f90b2e6d70c3e4ad46630924ab33 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - CGI header
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_CGI_
 
 #include <errno.h>
index c300f0e4550630d038821c31e80a892b23630470..6e083cb7db37ca3653d0e84963f1f082652ecbdd 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Static file handler
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #define _XOPEN_SOURCE 500      /* strptime() ... */
 #define _BSD_SOURCE                    /* scandir() ... */
 
index 37303e07bdf53ce52c45b4de217be4197cb6e864..3dce525e7d59f6c502277b525ceac951f494aaa7 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Static file header
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_FILE_
 
 #include <fcntl.h>
index b2ca34e0c1108ed3b41bbcaaa0411b17d261cac4..16b627fef6e615e3d8335229bf86e3f175d73ac4 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Lua handler
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #include "uhttpd.h"
 #include "uhttpd-utils.h"
 #include "uhttpd-lua.h"
index 2a0d6411c45e4879ec58f59cf93c650772a665b3..22a44c6951ba245982256c4aab6dcc1802c2abb6 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Lua header
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_LUA_
 
 #include <math.h>  /* floor() */
index 1c0cdaaa2cf0b98d946c84003804d576584a1e51..49e8f150e987f69d58476f5551dd9ea4b5bb1992 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - MIME type definitions
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_MIMETYPES_
 
 static struct mimetype uh_mime_types[] = {
index d2d44129d355b981f9392ee0c8ac532442cc92fd..c35d3aae37bbef721bc31b871112ce41a7e1f4c6 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - TLS helper
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #include "uhttpd.h"
 #include "uhttpd-tls.h"
 #include "uhttpd-utils.h"
index b4610d9cfad82ba7cd337e235cb958fa6a7a0d17..f5412a45eb69640c48035b4bd34196fcbe5a9d8b 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - TLS header
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_TLS_
 
 #include <openssl/ssl.h>
index 89a23686cd80f315272c1d212ebdc2721b8476d7..c3ff35f2830448d95268b75df88a856d265c3d81 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Utility functions
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #include "uhttpd.h"
 #include "uhttpd-utils.h"
 
index 01b95afca744e1b817aef40cf35ac4350b997b8c..eac737b9918a6505791bf44eb850f052e1b7e61e 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Utility header
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_UTILS_
 
 #include <stdarg.h>
index 804d397b85f759b88158eda5dcd8d2ca991c403d..54c16a850725853f91cbcc07f2ce513122f82a45 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Main component
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #include "uhttpd.h"
 #include "uhttpd-utils.h"
 #include "uhttpd-file.h"
index aa5a515e4805dc423d4cea3e1fdd567b838fd0a4..aa9186782d46b37ed1c669a25a83dd0c1e7cc2e9 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * uhttpd - Tiny non-forking httpd - Main header
+ *
+ *   Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
 #ifndef _UHTTPD_
 
 #include <stdio.h>