summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormax.mehl <max.mehl@fsfe.org>2022-05-17 11:16:50 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-06-13 09:13:00 +0200
commitad9bc5976d6661cd5b03ebc379313bf657701c14 (patch)
tree426eda5bab8991572f9e80b11844eb525ce18163 /include
parent965119855d74c918372099bdcf81efa76b7a6988 (diff)
downloadcurl-ad9bc5976d6661cd5b03ebc379313bf657701c14.tar.gz
copyright: make repository REUSE compliant
Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am4
-rw-r--r--include/README.md6
-rw-r--r--include/curl/.gitignore4
-rw-r--r--include/curl/Makefile.am2
-rw-r--r--include/curl/curl.h2
-rw-r--r--include/curl/curlver.h2
-rw-r--r--include/curl/easy.h4
-rw-r--r--include/curl/header.h2
-rw-r--r--include/curl/mprintf.h4
-rw-r--r--include/curl/multi.h2
-rw-r--r--include/curl/options.h2
-rw-r--r--include/curl/stdcheaders.h4
-rw-r--r--include/curl/system.h2
-rw-r--r--include/curl/typecheck-gcc.h2
-rw-r--r--include/curl/urlapi.h4
15 files changed, 41 insertions, 5 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index a334fdcae..32d7b339d 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -18,6 +18,8 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
+# SPDX-License-Identifier: curl
+#
###########################################################################
SUBDIRS = curl
diff --git a/include/README.md b/include/README.md
index bd28a30e8..8fdbe0e0e 100644
--- a/include/README.md
+++ b/include/README.md
@@ -1,3 +1,9 @@
+<!--
+Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
+
+SPDX-License-Identifier: curl
+-->
+
# include
Public include files for libcurl, external users.
diff --git a/include/curl/.gitignore b/include/curl/.gitignore
index 555795fae..a856a0f96 100644
--- a/include/curl/.gitignore
+++ b/include/curl/.gitignore
@@ -1,3 +1,7 @@
+# Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
+#
+# SPDX-License-Identifier: curl
+
curlver.h.dist
stamp-h2
stamp-h3
diff --git a/include/curl/Makefile.am b/include/curl/Makefile.am
index cad2ace03..60e26526e 100644
--- a/include/curl/Makefile.am
+++ b/include/curl/Makefile.am
@@ -18,6 +18,8 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
+# SPDX-License-Identifier: curl
+#
###########################################################################
pkginclude_HEADERS = \
curl.h curlver.h easy.h mprintf.h stdcheaders.h multi.h \
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 49595a261..61670ee51 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
/*
diff --git a/include/curl/curlver.h b/include/curl/curlver.h
index 568a2b775..a936eb410 100644
--- a/include/curl/curlver.h
+++ b/include/curl/curlver.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
/* This header file contains nothing but libcurl version info, generated by
diff --git a/include/curl/easy.h b/include/curl/easy.h
index 2dbfb26b5..9c7e63ada 100644
--- a/include/curl/easy.h
+++ b/include/curl/easy.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
#ifdef __cplusplus
extern "C" {
diff --git a/include/curl/header.h b/include/curl/header.h
index 7715b61e2..6af29c0c0 100644
--- a/include/curl/header.h
+++ b/include/curl/header.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
struct curl_header {
diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h
index 3549552db..cb948dcd9 100644
--- a/include/curl/mprintf.h
+++ b/include/curl/mprintf.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
#include <stdarg.h>
diff --git a/include/curl/multi.h b/include/curl/multi.h
index 362eabc7f..30104925b 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
/*
This is an "external" header file. Don't give away any internals here!
diff --git a/include/curl/options.h b/include/curl/options.h
index 91360b358..c8ac827c0 100644
--- a/include/curl/options.h
+++ b/include/curl/options.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
#ifdef __cplusplus
diff --git a/include/curl/stdcheaders.h b/include/curl/stdcheaders.h
index 60596c756..82e1b5fef 100644
--- a/include/curl/stdcheaders.h
+++ b/include/curl/stdcheaders.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
#include <sys/types.h>
diff --git a/include/curl/system.h b/include/curl/system.h
index 000fea6c7..8d56b8a4a 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
/*
diff --git a/include/curl/typecheck-gcc.h b/include/curl/typecheck-gcc.h
index 43a920104..d7c7a9a30 100644
--- a/include/curl/typecheck-gcc.h
+++ b/include/curl/typecheck-gcc.h
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
/* wraps curl_easy_setopt() with typechecking */
diff --git a/include/curl/urlapi.h b/include/curl/urlapi.h
index a475f91b6..e15c213cc 100644
--- a/include/curl/urlapi.h
+++ b/include/curl/urlapi.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2018 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
+ * SPDX-License-Identifier: curl
+ *
***************************************************************************/
#include "curl.h"